autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Contents of <confdefs.h> for C++


From: Walter E. Brown
Subject: Contents of <confdefs.h> for C++
Date: Thu, 04 Jul 2002 16:01:53 -0500

Hello,

After several days of effort, I have finally traced my
autoconf(2.53a)-related problems to the contents of the generated
<confdefs.h> header file.  In particular, for some reason I don't
understand, <confdefs.h> insists on an #include <stdlib.h> when I
compile C++.

This unwanted and seemingly undocumented "feature" is deadly to many
of my C++ test programs, as it forcibly introduces extra symbols.  It
messes up my testing in other ways, too.

I can't avoid #include <confdefs.h> , yet I *desperately* need a way
to excise the <stdlib.h> -- can someone offer suggestions?

At a minimum, can someone kindly provide the rationale behind this
"feature" so that, perhaps, other possibilities can be explored?

Thanks,

    - WEB




reply via email to

[Prev in Thread] Current Thread [Next in Thread]