C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

C Precompiler/Preprocessor Source Code

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Werner Nussbaumer
Guest





PostPosted: Fri Mar 05, 2004 1:03 pm    Post subject: C Precompiler/Preprocessor Source Code Reply with quote



Hi all

I'm searching for a C precompiler (preprocessor) source code. It
should read C code and output the precompiled C code. I found some
examples but none of them was able to handle boolean construct line
"#if (mode == 2) && (test == 1)" or defines like "#define test 5".

Any help is appresciated
Regards
Werner Nussbaumer
Back to top
Rolf Magnus
Guest





PostPosted: Fri Mar 05, 2004 1:11 pm    Post subject: Re: C Precompiler/Preprocessor Source Code Reply with quote



Werner Nussbaumer wrote:

Quote:
Hi all

I'm searching for a C precompiler (preprocessor) source code. It
should read C code and output the precompiled C code. I found some
examples but none of them was able to handle boolean construct line
"#if (mode == 2) && (test == 1)" or defines like "#define test 5".

You might want to have a look at
http://gcc.gnu.org/projects/cpplib.html. It's the preprocessor library
of gcc and available as source code.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.