David Thompson <[EMAIL PROTECTED]> writes: > I am having a recent problem with autoconf due to the following patch > <http://lists.gnu.org/archive/html/autoconf-patches/2003-05/msg00072.html>. > The > problem is that I'm using Microsoft's Visual C++. It has a problem > that it still doesn't find a valid match for 'exit' in the list given > with . When stdlib.h was included, it did find the valid one. Its due > to Microsoft's linkage issues.
I.e. the Microsoft compilers don't conform to the C standard, which requires that you must be able to use standard functions by declaring them (you needn't include the corresponding headers). > Is there a solution other than to keep including stdlib.h? Not that I can think of. > Is there a way to make stdlib.h get included for tests that have the > exit function added? Automatically? I'd rather not go down that path. config.h should not include any other file. For particular tests, you can modify them to include stdlib.h.
