Thread View: borland.public.cppbuilder.upgrade
2 messages
2 total messages
Started by Gene
Thu, 26 Jun 2008 01:19
Reference problem to upgrade BCB6 project to CB2007.
Author: Gene
Date: Thu, 26 Jun 2008 01:19
Date: Thu, 26 Jun 2008 01:19
18 lines
1474 bytes
1474 bytes
Hello, Guys, I have got a reference problem here when I upgrade my BCB6 project to CB 2007: I defined a function that takes string reference as carry-in parameter, when I called the function I passed a string to the function. It was ok in BCB6 but I got error in CB2007 saying: E2357 Reference initialized with 'const string', needs lvalue of type 'string' E2342 Type mismatch in parameter 'thestring' (wanted 'string &',got 'string') Is CB2007 a lot stricter than BCB6? Or where I should change the setups? Thanks in advance. Gene.
Re: Reference problem to upgrade BCB6 project to CB2007.
Author: Remy Lebeau (TeamB)
Date: Fri, 27 Jun 2008 16:00
Date: Fri, 27 Jun 2008 16:00
11 lines
1239 bytes
1239 bytes
"Gene" <shenjige@yahoo.ca> wrote in message news:4862eeab$1@newsgroups.borland.com... > I have got a reference problem here when I upgrade my BCB6 > project to CB 2007: Please show yourt actual code. Gambit
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads