Ticket #167 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

nexus-4.2rc4 error compiling BinaryRetriever.cpp

Reported by: Pete Jemian Owned by: Unassigned
Priority: major Milestone:
Component: applications Version: trunk
Keywords: Cc:

Description

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@elmo,707,binary]$ uname -a
SunOS elmo 5.10 Generic_137138-09 i86pc i386 i86pc
[jemian@elmo,708,binary]$ pwd
/home/oxygen/JEMIAN/dev/src/nexus-4.2rc4/applications/NXtranslate/binary

Change History

comment:1 Changed 3 years ago by Freddie Akeroyd

  • Status changed from new to closed
  • Resolution set to fixed

(In [1229]) fixes #167

Note: See TracTickets for help on using tickets.