[Gate-users] jobsplitter with gcc 4.7.0 not expanding aliases in macro files
Justin Mikell
justin.mikell at gmail.com
Wed May 8 23:38:53 CEST 2013
So, I successfully compiled everything in gate 6.2 with gcc 4.7.0
I ran into one problem when compiling the jobsplitter gjs.
---------
Compiling gjs.cc...
Compiling GateMacfileParser.cc...
./src/GateMacfileParser.cc: In constructor
‘GateMacfileParser::GateMacfileParser(G4String, G4int, G4int, G4String*)’:
./src/GateMacfileParser.cc:41:26: error: ‘getpid’ was not declared in this
scope
---------------
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50423
To fix this I had to add <unistd.h> to GateMacFileParser.hh.
And then it compiles....
But, now the aliases dont expand properly and gjs tries to literally open
files named "{myVar}.mac"
I figured I would ask for thoughts/guidance on fixing it before I dive in
and actually try to fix it.
Thanks!
-Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130508/e33c0771/attachment.html>
More information about the Gate-users
mailing list