[cable] Problem running Cable compiled with GCC 3.2 on HP-UX 11

Brad King brad.king at kitware.com
Mon Dec 30 09:30:52 EST 2002


> At line 538 in cableXMLSourceParser.cxx, you have the following code:
>
> if(sscanf(lineStr.c_str(), "%ul", &line) == 1) { /*...*/ }
>
> The problem is that "%ul" is not a valid conversion specifier for sscanf(),

This has been fixed in CVS.  Thanks.  Ironically, this line was the one
that was written to replace the old implementation using string streams
that had a bug on GCC 2.96.

Thanks,
-Brad




More information about the cable mailing list