Macro expansion
Jonas Nordin
jonas.nordin at cenacle.se
Sat May 29 15:15:40 UTC 1999
Is it possible to make the gcc-preprocessor just do macro-expansions and leave
out everything not declared in the selected file. Not the way gcc -E behaves.
What I mean is.
file tst1.h
------
#define __BEGIN_DECLS extern "C" {
#define __END_DECLS }
typedef struct
{
...
} someStruct;
file tst2.h
------
#include "tst1.h"
__BEGIN_DECLS
somedefinitions
..
..
..
__END_DECLS
File two would just contain the expansions of __BEGIN_DECLS and END_DECLS.
/J
More information about the KDevelop-devel
mailing list