Subject: Re: SDL-News: c header file inclusion
From: Thomas Garsiot (garsiot#st2e.com)
Date: Tue Jan 02 2001 - 17:01:09 GMT
Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From Thomas Garsiot <garsiot#st2e.com> to sdlnews -----
Anthony Rouaux wrote:
> I would like to know how to include in tau SDL suite, a c header file wich
> contains all the macro definition. My probleme is that i have to insert
> this include in all the generated file by myself.
To elaborate a little bit, Anthony and I are generating code for Tornado VxWorks with Telelogic
Tau SDL Suite.
The header file we're trying to automatically insert in the generated files is a file that
defines some macros and/or compilation options, such as VXWORKS_INTEGRATION for example.
With a normal header file (e.g any external header file) we could use :
in a declaration symbol where switchs.h is the header file containing our macros definitions.
But then the ##include would appear in the HEADING Section of the generated file, and here we
need our header file to be included _before_ scttypes.h since some of the macros we define are
used in scttypes.h.
The best would be to have our ##include at the first line of the generated files.
Any idea of how to do that ?
Thx in advance.
--End text from Thomas Garsiot <garsiot#st2e.com> to sdlnews ---
For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>
This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT