mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 02:34:55 +00:00
Add more C++ tests.
assert-h: Add C++ tests. * tests/test-assert-h-c++.cc: New file. * tests/test-assert-h-c++2.cc: New file. * modules/assert-h-c++-tests: New file. * modules/assert-h-tests: New file. ctype: Add C++ tests. * tests/test-ctype-c++.cc: New file. * tests/test-ctype-c++2.cc: New file. * modules/ctype-c++-tests: New file. * modules/ctype-tests (Depends-on): Add ctype-c++-tests. errno: Add C++ tests. * tests/test-errno-c++.cc: New file. * tests/test-errno-c++2.cc: New file. * modules/errno-c++-tests: New file. * modules/errno-tests (Depends-on): Add errno-c++-tests. float: Add C++ tests. * tests/test-float-c++.cc: New file. * tests/test-float-c++2.cc: New file. * modules/float-c++-tests: New file. * modules/float-tests (Depends-on): Add float-c++-tests. inttypes: Add more C++ tests. * tests/test-inttypes-c++2.cc: New file. * modules/inttypes-c++-tests (Files): Add it. (Makefile.am): Compile it. limits-h: Add C++ tests. * tests/test-limits-h-c++.cc: New file. * tests/test-limits-h-c++2.cc: New file. * modules/limits-h-c++-tests: New file. * modules/limits-h-tests (Depends-on): Add limits-h-c++-tests. stdarg: Add C++ tests. * tests/test-stdarg-c++.cc: New file. * tests/test-stdarg-c++2.cc: New file. * modules/stdarg-c++-tests: New file. * modules/stdarg-tests: New file. stdbool: Add C++ tests. * tests/test-stdbool-c++.cc: New file. * tests/test-stdbool-c++2.cc: New file. * modules/stdbool-c++-tests: New file. * modules/stdbool-tests (Depends-on): Add stdbool-c++-tests. stddef: Add C++ tests. * tests/test-stddef-c++.cc: New file. * tests/test-stddef-c++2.cc: New file. * modules/stddef-c++-tests: New file. * modules/stddef-tests (Depends-on): Add stddef-c++-tests. stdint: Add C++ tests. * tests/test-stdint-c++.cc: New file. * tests/test-stdint-c++2.cc: New file. * modules/stdint-c++-tests: New file. * modules/stdint-tests (Depends-on): Add stdint-c++-tests. wchar: Add more C++ tests. * tests/test-wchar-c++2.cc: New file. * modules/wchar-c++-tests (Files): Add it. (Makefile.am): Compile it. wctype-h: Add more C++ tests. * tests/test-wctype-h-c++2.cc: New file. * modules/wctype-h-c++-tests (Files): Add it. (Makefile.am): Compile it.
This commit is contained in:
@@ -1,3 +1,76 @@
|
||||
2019-12-05 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Add more C++ tests.
|
||||
|
||||
assert-h: Add C++ tests.
|
||||
* tests/test-assert-h-c++.cc: New file.
|
||||
* tests/test-assert-h-c++2.cc: New file.
|
||||
* modules/assert-h-c++-tests: New file.
|
||||
* modules/assert-h-tests: New file.
|
||||
|
||||
ctype: Add C++ tests.
|
||||
* tests/test-ctype-c++.cc: New file.
|
||||
* tests/test-ctype-c++2.cc: New file.
|
||||
* modules/ctype-c++-tests: New file.
|
||||
* modules/ctype-tests (Depends-on): Add ctype-c++-tests.
|
||||
|
||||
errno: Add C++ tests.
|
||||
* tests/test-errno-c++.cc: New file.
|
||||
* tests/test-errno-c++2.cc: New file.
|
||||
* modules/errno-c++-tests: New file.
|
||||
* modules/errno-tests (Depends-on): Add errno-c++-tests.
|
||||
|
||||
float: Add C++ tests.
|
||||
* tests/test-float-c++.cc: New file.
|
||||
* tests/test-float-c++2.cc: New file.
|
||||
* modules/float-c++-tests: New file.
|
||||
* modules/float-tests (Depends-on): Add float-c++-tests.
|
||||
|
||||
inttypes: Add more C++ tests.
|
||||
* tests/test-inttypes-c++2.cc: New file.
|
||||
* modules/inttypes-c++-tests (Files): Add it.
|
||||
(Makefile.am): Compile it.
|
||||
|
||||
limits-h: Add C++ tests.
|
||||
* tests/test-limits-h-c++.cc: New file.
|
||||
* tests/test-limits-h-c++2.cc: New file.
|
||||
* modules/limits-h-c++-tests: New file.
|
||||
* modules/limits-h-tests (Depends-on): Add limits-h-c++-tests.
|
||||
|
||||
stdarg: Add C++ tests.
|
||||
* tests/test-stdarg-c++.cc: New file.
|
||||
* tests/test-stdarg-c++2.cc: New file.
|
||||
* modules/stdarg-c++-tests: New file.
|
||||
* modules/stdarg-tests: New file.
|
||||
|
||||
stdbool: Add C++ tests.
|
||||
* tests/test-stdbool-c++.cc: New file.
|
||||
* tests/test-stdbool-c++2.cc: New file.
|
||||
* modules/stdbool-c++-tests: New file.
|
||||
* modules/stdbool-tests (Depends-on): Add stdbool-c++-tests.
|
||||
|
||||
stddef: Add C++ tests.
|
||||
* tests/test-stddef-c++.cc: New file.
|
||||
* tests/test-stddef-c++2.cc: New file.
|
||||
* modules/stddef-c++-tests: New file.
|
||||
* modules/stddef-tests (Depends-on): Add stddef-c++-tests.
|
||||
|
||||
stdint: Add C++ tests.
|
||||
* tests/test-stdint-c++.cc: New file.
|
||||
* tests/test-stdint-c++2.cc: New file.
|
||||
* modules/stdint-c++-tests: New file.
|
||||
* modules/stdint-tests (Depends-on): Add stdint-c++-tests.
|
||||
|
||||
wchar: Add more C++ tests.
|
||||
* tests/test-wchar-c++2.cc: New file.
|
||||
* modules/wchar-c++-tests (Files): Add it.
|
||||
(Makefile.am): Compile it.
|
||||
|
||||
wctype-h: Add more C++ tests.
|
||||
* tests/test-wctype-h-c++2.cc: New file.
|
||||
* modules/wctype-h-c++-tests (Files): Add it.
|
||||
(Makefile.am): Compile it.
|
||||
|
||||
2019-12-04 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Fix compilation errors in C++ mode with xlclang++ on AIX.
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Files:
|
||||
tests/test-assert-h-c++.cc
|
||||
tests/test-assert-h-c++2.cc
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-assert-h-c++
|
||||
check_PROGRAMS += test-assert-h-c++
|
||||
test_assert_h_c___SOURCES = test-assert-h-c++.cc test-assert-h-c++2.cc
|
||||
endif
|
||||
@@ -0,0 +1,7 @@
|
||||
Files:
|
||||
|
||||
Depends-on:
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
@@ -0,0 +1,19 @@
|
||||
Files:
|
||||
tests/test-ctype-c++.cc
|
||||
tests/test-ctype-c++2.cc
|
||||
tests/signature.h
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-ctype-c++
|
||||
check_PROGRAMS += test-ctype-c++
|
||||
test_ctype_c___SOURCES = test-ctype-c++.cc test-ctype-c++2.cc
|
||||
endif
|
||||
@@ -2,6 +2,7 @@ Files:
|
||||
tests/test-ctype.c
|
||||
|
||||
Depends-on:
|
||||
ctype-c++-tests
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Files:
|
||||
tests/test-errno-c++.cc
|
||||
tests/test-errno-c++2.cc
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-errno-c++
|
||||
check_PROGRAMS += test-errno-c++
|
||||
test_errno_c___SOURCES = test-errno-c++.cc test-errno-c++2.cc
|
||||
endif
|
||||
@@ -2,6 +2,7 @@ Files:
|
||||
tests/test-errno.c
|
||||
|
||||
Depends-on:
|
||||
errno-c++-tests
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Files:
|
||||
tests/test-float-c++.cc
|
||||
tests/test-float-c++2.cc
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-float-c++
|
||||
check_PROGRAMS += test-float-c++
|
||||
test_float_c___SOURCES = test-float-c++.cc test-float-c++2.cc
|
||||
endif
|
||||
@@ -5,6 +5,7 @@ tests/macros.h
|
||||
Depends-on:
|
||||
fpieee
|
||||
fpucw
|
||||
float-c++-tests
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Files:
|
||||
tests/test-inttypes-c++.cc
|
||||
tests/test-inttypes-c++2.cc
|
||||
tests/signature.h
|
||||
|
||||
Status:
|
||||
@@ -14,5 +15,5 @@ Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-inttypes-c++
|
||||
check_PROGRAMS += test-inttypes-c++
|
||||
test_inttypes_c___SOURCES = test-inttypes-c++.cc
|
||||
test_inttypes_c___SOURCES = test-inttypes-c++.cc test-inttypes-c++2.cc
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Files:
|
||||
tests/test-limits-h-c++.cc
|
||||
tests/test-limits-h-c++2.cc
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-limits-h-c++
|
||||
check_PROGRAMS += test-limits-h-c++
|
||||
test_limits_h_c___SOURCES = test-limits-h-c++.cc test-limits-h-c++2.cc
|
||||
endif
|
||||
@@ -4,6 +4,7 @@ tests/test-limits-h.c
|
||||
Depends-on:
|
||||
extensions
|
||||
verify
|
||||
limits-h-c++-tests
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Files:
|
||||
tests/test-stdarg-c++.cc
|
||||
tests/test-stdarg-c++2.cc
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-stdarg-c++
|
||||
check_PROGRAMS += test-stdarg-c++
|
||||
test_stdarg_c___SOURCES = test-stdarg-c++.cc test-stdarg-c++2.cc
|
||||
endif
|
||||
@@ -0,0 +1,7 @@
|
||||
Files:
|
||||
|
||||
Depends-on:
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
@@ -0,0 +1,18 @@
|
||||
Files:
|
||||
tests/test-stdbool-c++.cc
|
||||
tests/test-stdbool-c++2.cc
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-stdbool-c++
|
||||
check_PROGRAMS += test-stdbool-c++
|
||||
test_stdbool_c___SOURCES = test-stdbool-c++.cc test-stdbool-c++2.cc
|
||||
endif
|
||||
@@ -2,6 +2,7 @@ Files:
|
||||
tests/test-stdbool.c
|
||||
|
||||
Depends-on:
|
||||
stdbool-c++-tests
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Files:
|
||||
tests/test-stddef-c++.cc
|
||||
tests/test-stddef-c++2.cc
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-stddef-c++
|
||||
check_PROGRAMS += test-stddef-c++
|
||||
test_stddef_c___SOURCES = test-stddef-c++.cc test-stddef-c++2.cc
|
||||
endif
|
||||
@@ -4,6 +4,7 @@ tests/test-stddef.c
|
||||
Depends-on:
|
||||
stdalign
|
||||
verify
|
||||
stddef-c++-tests
|
||||
|
||||
configure.ac:
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Files:
|
||||
tests/test-stdint-c++.cc
|
||||
tests/test-stdint-c++2.cc
|
||||
|
||||
Status:
|
||||
c++-test
|
||||
|
||||
Depends-on:
|
||||
ansi-c++-opt
|
||||
|
||||
configure.ac:
|
||||
|
||||
Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-stdint-c++
|
||||
check_PROGRAMS += test-stdint-c++
|
||||
test_stdint_c___SOURCES = test-stdint-c++.cc test-stdint-c++2.cc
|
||||
endif
|
||||
@@ -8,6 +8,7 @@ extensions
|
||||
verify
|
||||
intprops
|
||||
wchar
|
||||
stdint-c++-tests
|
||||
|
||||
configure.ac:
|
||||
AC_REQUIRE([gt_TYPE_WCHAR_T])
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Files:
|
||||
tests/test-wchar-c++.cc
|
||||
tests/test-wchar-c++2.cc
|
||||
tests/signature.h
|
||||
|
||||
Status:
|
||||
@@ -14,6 +15,6 @@ Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-wchar-c++
|
||||
check_PROGRAMS += test-wchar-c++
|
||||
test_wchar_c___SOURCES = test-wchar-c++.cc
|
||||
test_wchar_c___SOURCES = test-wchar-c++.cc test-wchar-c++2.cc
|
||||
test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS) $(LIBTHREAD)
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Files:
|
||||
tests/test-wctype-h-c++.cc
|
||||
tests/test-wctype-h-c++2.cc
|
||||
tests/signature.h
|
||||
|
||||
Status:
|
||||
@@ -14,6 +15,6 @@ Makefile.am:
|
||||
if ANSICXX
|
||||
TESTS += test-wctype-h-c++
|
||||
check_PROGRAMS += test-wctype-h-c++
|
||||
test_wctype_h_c___SOURCES = test-wctype-h-c++.cc
|
||||
test_wctype_h_c___SOURCES = test-wctype-h-c++.cc test-wctype-h-c++2.cc
|
||||
test_wctype_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) $(LIB_EACCESS)
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Test of <assert.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/* Test of <assert.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <cassert>
|
||||
@@ -0,0 +1,35 @@
|
||||
/* Test of <ctype.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#include "signature.h"
|
||||
|
||||
|
||||
#if 0
|
||||
SIGNATURE_CHECK (GNULIB_NAMESPACE::isblank, int, (int));
|
||||
#endif
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/* Test of <ctype.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <cctype>
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Test of <errno.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/* Test of <errno.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <cerrno>
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Test of <float.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <float.h>
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/* Test of <float.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <cfloat>
|
||||
@@ -0,0 +1,24 @@
|
||||
/* Test of <inttypes.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#if __cplusplus >= 201103
|
||||
|
||||
# include <cinttypes>
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Test of <limits.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/* Test of <limits.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <climits>
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Test of <stdarg.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/* Test of <stdarg.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <cstdarg>
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Test of <stdbool.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
/* Test of <stdbool.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#if __cplusplus >= 201103
|
||||
|
||||
# include <cstdbool>
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Test of <stddef.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/* Test of <stddef.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <cstddef>
|
||||
@@ -0,0 +1,28 @@
|
||||
/* Test of <stdint.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Written by Bruno Haible <bruno@clisp.org>, 2019. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
/* Test of <stdint.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#if __cplusplus >= 201103
|
||||
|
||||
# include <cstdint>
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,20 @@
|
||||
/* Test of <wchar.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <cwchar>
|
||||
@@ -0,0 +1,20 @@
|
||||
/* Test of <wctype.h> substitute in C++ mode.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GNULIB_NAMESPACE gnulib
|
||||
#include <config.h>
|
||||
|
||||
#include <cwctype>
|
||||
Reference in New Issue
Block a user