Experimental Physics and
| |||||||||||||||
|
Hi, When compiling the latest release of sncseq (2.0.99) on a MacOSX 10.6 (Snow Leopard) with EPICS base 3.14.11 the following error appears: ... 3 parsing conflicts. ../snl.re:20: error: redefinition of typedef ‘uint’ ../types.h:40: error: previous declaration of ‘uint’ was here make[3]: *** [lexer.o] Error 1 make[2]: *** [install.darwin-x86] Error 2 make[1]: *** [snc.install] Error 2 make: *** [src.install] Error 2 ... Digging into the code I found two files (src/snc/snl.re and src/snc/types.h) defining uint as a new type unsigned int. On MacOSX (FreeBSD) that type is already defined in sys/types.h. I attached possible patch files that disable the re-definition of the uint type for Mac platforms. Please check if it is right, since these patch files only work on Mac and linux-x86_64 (debian lenny 64-bit), which are the platforms I can test. I haven't checked other FreeBSD platforms. Cheers, Juan Carlos. Attachment:
snl.re.patch Attachment:
types.h.patch ---------- Juan Carlos Guzman Software Engineer Australia Telescope National Facility CSIRO Astronomy and Space Science P.O.Box 76, Epping NSW 1710, Australia Phone: +61 2 9372 4457 Fax: +61 2 9372 4310 Email: [email protected]
| ||||||||||||||
ANJ, 18 Oct 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |