Issues with gcc 3.4.2
Philipp Thomas
pth@suse.de
Wed Jan 19 21:15:00 GMT 2005
* Schouten, Frits JF (Frits.Schouten@bluescopesteel.com) [20050117 23:06]:
> The only way to solve this issue is to put the whole SQL query on the one line.
No, use ANSI string concatenation, i.e. something like:
sprintf(q,
"UPDATE delays "
"SET item_2 = %f,"
" event_code = %d,"
" heat_nr = %d "
"WHERE id = %d;",
pData->speed, pData->event_code, pData->heat_nr,tmp_id);
Insert '\n' where line breaks are needed.
Philipp
More information about the Gcc
mailing list