autoconf
[Top][All Lists]
Advanced

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

_AC_PROG_CXX_EXIT_DECLARATION problem


From: David Thompson
Subject: _AC_PROG_CXX_EXIT_DECLARATION problem
Date: Tue, 20 Apr 2004 12:30:45 -0600

Since this function has been modified at version 1.179, it now breaks our configure process on Windows with Microsoft compilers. The problem is, that the appropriate configuration is just #include <stdlib.h> with no prototype. This option for the test was removed so it never completes correctly. The tests that run in order on cygwin are

test without stdlib and no prototype
test with stdlib and prototype extern "C" void std::exit (int) throw(); using std::exit;
...

For some reason, the case where stdlib and no prototype never runs (at least we never see it in the config.log.)

Could this be a problem with bash or is there an error in the write of this function?

If I convert the function back to have one of the tests to be #include <stdlib.h>, functionality returns.

David
--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:address@hidden    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)756-7472




reply via email to

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