Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: g.makulik on November 27, 2012, 11:46:24 am

Title: Preprocessor macros for C missing?!?
Post by: g.makulik on November 27, 2012, 11:46:24 am
Wouldn't it make sense to provide preprocessor macro setting also for C language?

There are surely a lot of compiler implementation or framework specific definitions, that should be ignored when C code is imported/synchronized.

Opinions anyone?

Best reagards,
Günther
Title: Re: Preprocessor macros for C missing?!?
Post by: Eve on November 27, 2012, 12:30:15 pm
I'm reasonably sure that they are shared. So the question is: Is there a use case where they need to be different?
Title: Re: Preprocessor macros for C missing?!?
Post by: g.makulik on November 27, 2012, 12:59:44 pm
If they're shared from the definitions for C++ everything will be fine.

Didn't check that so far, just stumbled over the drop down, that only offers C++. It should display better 'C/C++' then.

Best regards,
Günther
Title: Re: Preprocessor macros for C missing?!?
Post by: Helmut Ortmann on December 04, 2012, 08:26:55 pm
Hi,

macros are working fine for C. I tested it.

Kind regards,

Helmut
Title: Re: Preprocessor macros for C missing?!?
Post by: Makulik on December 04, 2012, 08:50:40 pm
Also confirmed this meanwhile.

Thanks Helmut