mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-12 02:35:28 +01:00
Now that we check for a C++ compiler in configure.in anyway, I added a
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++ compiler in configure.in anyway, I added a test, that the GLib headers can be inclued into a C++ program. This fixes bug #52605.
This commit is contained in:
parent
2fd34ae182
commit
68e002beed
@ -1,5 +1,9 @@
|
|||||||
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
|
||||||
|
compiler in configure.in anyway, I added a test, that the GLib
|
||||||
|
headers can be inclued into a C++ program. This fixes bug #52605.
|
||||||
|
|
||||||
* configure.in: Don't bail out, if no C++ compiler is
|
* configure.in: Don't bail out, if no C++ compiler is
|
||||||
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
|
||||||
|
compiler in configure.in anyway, I added a test, that the GLib
|
||||||
|
headers can be inclued into a C++ program. This fixes bug #52605.
|
||||||
|
|
||||||
* configure.in: Don't bail out, if no C++ compiler is
|
* configure.in: Don't bail out, if no C++ compiler is
|
||||||
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
|
||||||
|
compiler in configure.in anyway, I added a test, that the GLib
|
||||||
|
headers can be inclued into a C++ program. This fixes bug #52605.
|
||||||
|
|
||||||
* configure.in: Don't bail out, if no C++ compiler is
|
* configure.in: Don't bail out, if no C++ compiler is
|
||||||
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
|
||||||
|
compiler in configure.in anyway, I added a test, that the GLib
|
||||||
|
headers can be inclued into a C++ program. This fixes bug #52605.
|
||||||
|
|
||||||
* configure.in: Don't bail out, if no C++ compiler is
|
* configure.in: Don't bail out, if no C++ compiler is
|
||||||
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
|
||||||
|
compiler in configure.in anyway, I added a test, that the GLib
|
||||||
|
headers can be inclued into a C++ program. This fixes bug #52605.
|
||||||
|
|
||||||
* configure.in: Don't bail out, if no C++ compiler is
|
* configure.in: Don't bail out, if no C++ compiler is
|
||||||
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
|
||||||
|
compiler in configure.in anyway, I added a test, that the GLib
|
||||||
|
headers can be inclued into a C++ program. This fixes bug #52605.
|
||||||
|
|
||||||
* configure.in: Don't bail out, if no C++ compiler is
|
* configure.in: Don't bail out, if no C++ compiler is
|
||||||
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
|
||||||
|
compiler in configure.in anyway, I added a test, that the GLib
|
||||||
|
headers can be inclued into a C++ program. This fixes bug #52605.
|
||||||
|
|
||||||
* configure.in: Don't bail out, if no C++ compiler is
|
* configure.in: Don't bail out, if no C++ compiler is
|
||||||
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
||||||
|
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2001-05-29 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
|
||||||
|
compiler in configure.in anyway, I added a test, that the GLib
|
||||||
|
headers can be inclued into a C++ program. This fixes bug #52605.
|
||||||
|
|
||||||
* configure.in: Don't bail out, if no C++ compiler is
|
* configure.in: Don't bail out, if no C++ compiler is
|
||||||
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
found. Define G_HAVE_ISO_VARARGS only if appropriate.
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ _libs
|
|||||||
libmoduletestplugin_a.la
|
libmoduletestplugin_a.la
|
||||||
libmoduletestplugin_b.la
|
libmoduletestplugin_b.la
|
||||||
array-test
|
array-test
|
||||||
|
cxx-test
|
||||||
date-test
|
date-test
|
||||||
dirname-test
|
dirname-test
|
||||||
hash-test
|
hash-test
|
||||||
|
@ -23,8 +23,17 @@ BUILT_EXTRA_DIST = \
|
|||||||
makefile.mingw \
|
makefile.mingw \
|
||||||
makefile.msc
|
makefile.msc
|
||||||
|
|
||||||
|
if HAVE_CXX
|
||||||
|
CXX_TEST = cxx-test
|
||||||
|
cxx_test_LDADD = $(progs_LDADD)
|
||||||
|
cxx_test_SOURCES = cxx-test.C
|
||||||
|
else
|
||||||
|
CXX_TEST =
|
||||||
|
endif
|
||||||
|
|
||||||
test_programs = \
|
test_programs = \
|
||||||
array-test \
|
array-test \
|
||||||
|
$(CXX_TEST) \
|
||||||
date-test \
|
date-test \
|
||||||
dirname-test \
|
dirname-test \
|
||||||
gio-test \
|
gio-test \
|
||||||
|
9
tests/cxx-test.C
Normal file
9
tests/cxx-test.C
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#include <glib.h>
|
||||||
|
#include <gmodule.h>
|
||||||
|
#include <glib-object.h>
|
||||||
|
|
||||||
|
int
|
||||||
|
main ()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user