[NeXus-code-tickets] [NeXusCode] #167: nexus-4.2rc4 error compiling BinaryRetriever.cpp
NeXus Data Format Library and Applications
noreply at nexusformat.org
Fri Feb 27 20:57:15 GMT 2009
#167: nexus-4.2rc4 error compiling BinaryRetriever.cpp
--------------------------+-------------------------------------------------
Reporter: Pete Jemian | Owner: Unassigned
Type: defect | Status: new
Priority: major | Milestone:
Component: applications | Version: trunk
Keywords: |
--------------------------+-------------------------------------------------
To avoid this error when compiling on solaris-x86 architecture (from the
nexus-4.2rc4 tarball):
{{{
#BinaryRetriever.cpp:28: error: expected unqualified-id before numeric
constant
#make: *** [BinaryRetriever.lo] Error 1
}}}
it was necessary to make this change to
{{{applications/NXtranslate/binary/BinaryRetriever.cpp}}}
{{{
28c28
< static const int DEFAULT_TYPE=NX_UINT32;
---
> static const int __DEFAULT_TYPE=NX_UINT32;
98c98
< return DEFAULT_TYPE;
---
> return __DEFAULT_TYPE;
}}}
note:
{{{
jemian at elmo,707,binary]$ uname -a
SunOS elmo 5.10 Generic_137138-09 i86pc i386 i86pc
[jemian at elmo,708,binary]$ pwd
/home/oxygen/JEMIAN/dev/src/nexus-4.2rc4/applications/NXtranslate/binary
}}}
--
Ticket URL: <http://trac.nexusformat.org/code/ticket/167>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications
More information about the NeXus-code-tickets
mailing list