[Gate-users] Fwd: jobsplitter with gcc 4.7.0 not expanding aliases in macro files
Justin Mikell
justin.mikell at gmail.com
Wed May 8 23:54:10 CEST 2013
Oh, and the error message I get when running the gjs command is
"Error reading from file: {myFavoriteDirectory}/slab.mac"
---------- Forwarded message ----------
From: Justin Mikell <justin.mikell at gmail.com>
Date: Wed, May 8, 2013 at 4:38 PM
Subject: jobsplitter with gcc 4.7.0 not expanding aliases in macro files
To: gate-users at lists.opengatecollaboration.org
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/b9fb4b97/attachment-0001.html>
More information about the Gate-users
mailing list