On 2015-09-08 09:52, priyanka wrote: > On 2015-09-08 01:54, Gabriel Kerneis wrote: >> Le 2015-09-07 12:06, priyanka a écrit : >>> src/lq_complex.h[30:14-22] : syntax error >>> Parsing errorFatal error: exception Frontc.ParseError("Parse >>> error") >>> >>> The line mentioned in error contains extern function declaration >>> whose >>> return type is #defined. I am quite new to CIL, so can't figure out >>> exact problem, any pointers would be appreciated. >>> >> >> Can you give the exact content of the line that is failing, after >> preprocessing? You can use cilly --save-temps to get the >> pre-processed >> file. > > This is the line: > extern COMPLEX_FLOAT quantum_conj(COMPLEX_FLOAT a); ---> line 30 from > lq_complex.h > where COMPLEX_FLOAT is #defined in another header file as: > #define COMPLEX_FLOAT float _Complex >
I have resolved this issue, the COMPLEX_FLOAT is #defined as #define COMPLEX_FLOAT float _Complex, but complex.h header file was not included. Defining SPEC_CPU_LINUX resolved the problem. Best Wishes, Priyanka ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users