Minor compiler bug

U

U.Mutlu

Minor compiler bug:
fKW ? S.sKeyw = pb : S.sVal = pb, v.push_back(S);

I had to to change it to this:
if (fKW) S.sKeyw = pb; else S.sVal = pb, v.push_back(S);

Compiler: g++ 4.6.2
 
U

U.Mutlu

U.Mutlu wrote, On 02/11/12 20:39:
Leigh Johnston wrote, On 02/11/12 20:34:

Elaborate pls :)

Sorry, my failure!
I tried it again, now it works!!! Very funny...
Again, sorry for the bandwith....
 
G

gwowen

Minor compiler bug:
   fKW ? S.sKeyw = pb : S.sVal = pb, v.push_back(S);

I had to to change it to this:
   if (fKW) S.sKeyw = pb; else S.sVal = pb, v.push_back(S);

Compiler: g++ 4.6.2

You have a keyboard bug: your { and } keys appear to be non-
functional, and your ( and ) keys work only intermittently.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,139
Messages
2,570,805
Members
47,352
Latest member
DianeKulik

Latest Threads

Top