Currency Library fails to build on AIX 5.3 with xlC 8.0.0.15

Article ID: 1360
Last updated: 29 Feb, 2008
Article ID: 1360
Last updated: 29 Feb, 2008
Revision: 1
Views: 2612
Posted: 22 Feb, 2008
by --
Updated: 29 Feb, 2008
by

PROBLEM


When building SourcePro Edition 9 or Edition 9 Update 1 on AIX 5.3 with xlC 8.0.0.15, the currency library build will fail with the following error:

"./../../../rw/currency/utlconst.cc", line 58.10: 1540-0064 (S) Syntax error:  "~" was expected but "~0" was found.
"./../../../rw/currency/utlconst.cc", line 54.27: 1540-0700 (I) The previous message was produced while processing "RWIntutilConstants<unsigned long>::LowerMask".
"./../../../rw/currency/utlconst.cc", line 122.13: 1540-0700 (I) The previous message was produced while processing "RWIntutilConstants<unsigned long>::RWIntutilConstants()".
"./../../../rw/currency/intutil.h", line 51.42: 1540-0700 (I) The previous message was produced while processing "RWIntutilConstantsVarUL".



CAUSE


The compiler will not recognize expressions such as (T(~0)), which are used in the utlconst.cc file.


ACTION


This issue is fixed in Edition 10 of SourcePro, and the fix has been ported back to Edition 9 / Edition 9 Update 1.  You should remove or rename the existing utlconst.cc file in the rw/currency/ directory of your SourcePro installation, and replace it with the attached utlconst.cc file.  Then run the build again, and the currency library should build correctly.
This article was:   Helpful | Not helpful
Report an issue
Article ID: 1360
Last updated: 29 Feb, 2008
Revision: 1
Views: 2612
Posted: 22 Feb, 2008 by --
Updated: 29 Feb, 2008 by
Attached files
item utlconst.cc (4 kb) Download

Also listed in


Others in this category