By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,797 Members | 1,794 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,797 IT Pros & Developers. It's quick & easy.

Temporary size is big for paramteter warning

P: 7
I need an urgent help please...!!!!

I am working on a program in borland C++ Builder. While compiling, I am getting a warning which states:-
Temporary size is big for Paramteter “str” while calling “RS232_IO:: Transmit (AnsiString &)”

The command for which I am getting error is:-
AnsiString str;
Transmit("5");

Can anybody explain me the solution and reason behind this????
Sep 29 '06 #1
Share this Question
Share on Google+
2 Replies


P: 41
can you post code of this function
RS232_IO:: Transmit (AnsiString &)
Sep 30 '06 #2

P: 7
Thanks buddy!

I got the solution. I just stated the str as :-

RS232_IO:: Transmit (const AnsiString &str)

and it works fine.
Oct 13 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.