[Qt-interest] Qt code compiles fine on mscv9.0 but failed with gcc
jjDaNiMoTh
jjdanimoth at gmail.com
Tue Jan 25 16:51:34 CET 2011
2011/1/25 Bob Hood <bhood2 at comcast.net>:
> On 1/25/2011 6:24 AM, Bruno Colombet wrote:
>> a call like this : addCustomChannel(chan) compiles in MSCV
>> but gcc complains: error: default argument parameter of type 'QString&' has
>> type 'QString'
>>
>
> Yeah, welcome to the nightmare of modern cross compiling. :)
Could I declare a theorem?
If a program S build fine under gcc with -Wall -Werror, and you
preserve include files, the same program S will build fine under MSVC.
More information about the Qt-interest-old
mailing list