https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63750
Bug ID: 63750 Summary: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: howarth at bromo dot med.uc.edu The bootstrap on x86_64-apple-darwin14 at r217129. now fails to compile under Clang 6.0 with the errors... g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-5.0-20141105/gcc -I../../gcc-5.0-20141105/gcc/. -I../../gcc-5.0-20141105/gcc/../include -I../../gcc-5.0-20141105/gcc/../libcpp/include -I/sw/include -I/sw/include -I../../gcc-5.0-20141105/gcc/../libdecnumber -I../../gcc-5.0-20141105/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-5.0-20141105/gcc/../libbacktrace -DCLOOG_INT_GMP -I/sw/include -DCLOOG_INT_GMP -I/sw/include -I/sw/include -o ipa-chkp.o -MT ipa-chkp.o -MMD -MP -MF ./.deps/ipa-chkp.TPo ../../gcc-5.0-20141105/gcc/ipa-chkp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:23: ../../gcc-5.0-20141105/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../gcc-5.0-20141105/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:24: In file included from ../../gcc-5.0-20141105/gcc/tree-core.h:24: In file included from ../../gcc-5.0-20141105/gcc/hash-set.h:24: In file included from ../../gcc-5.0-20141105/gcc/hash-table.h:200: ../../gcc-5.0-20141105/gcc/ggc.h:315:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../gcc-5.0-20141105/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:24: In file included from ../../gcc-5.0-20141105/gcc/tree-core.h:24: In file included from ../../gcc-5.0-20141105/gcc/hash-set.h:24: In file included from ../../gcc-5.0-20141105/gcc/hash-table.h:200: ../../gcc-5.0-20141105/gcc/ggc.h:318:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../gcc-5.0-20141105/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:24: In file included from ../../gcc-5.0-20141105/gcc/tree-core.h:29: In file included from ../../gcc-5.0-20141105/gcc/double-int.h:23: ../../gcc-5.0-20141105/gcc/wide-int.h:370:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ ../../gcc-5.0-20141105/gcc/wide-int.h:377:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ ../../gcc-5.0-20141105/gcc/wide-int.h:384:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ ../../gcc-5.0-20141105/gcc/wide-int.h:394:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ ../../gcc-5.0-20141105/gcc/wide-int.h:401:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ ../../gcc-5.0-20141105/gcc/wide-int.h:411:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ ../../gcc-5.0-20141105/gcc/wide-int.h:422:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ ../../gcc-5.0-20141105/gcc/wide-int.h:886:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ ../../gcc-5.0-20141105/gcc/wide-int.h:965:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ ../../gcc-5.0-20141105/gcc/wide-int.h:1127:1: warning: 'fixed_wide_int_storage' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] class GTY(()) fixed_wide_int_storage ^ ../../gcc-5.0-20141105/gcc/wide-int.h:286:18: note: did you mean class here? template <int N> struct fixed_wide_int_storage; ^~~~~~ class ../../gcc-5.0-20141105/gcc/wide-int.h:1152:3: warning: extraneous template parameter list in template specialization template <> ^~~~~~~~~~~ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:39: ../../gcc-5.0-20141105/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../gcc-5.0-20141105/gcc/tree-core.h:1475:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:902:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:1510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:1540:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:1758:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:3014:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:4486:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:5014:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:5167:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:5256:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:5362:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:5650:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: In file included from ../../gcc-5.0-20141105/gcc/lto-streamer.h:29: In file included from ../../gcc-5.0-20141105/gcc/target.h:188: ../../gcc-5.0-20141105/gcc/target.def:5653:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../gcc-5.0-20141105/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: ../../gcc-5.0-20141105/gcc/lto-streamer.h:678:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:310:7: note: previous use is here class lto_input_block ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:678:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../gcc-5.0-20141105/gcc/lto-streamer.h:684:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:310:7: note: previous use is here class lto_input_block ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:684:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../gcc-5.0-20141105/gcc/lto-streamer.h:708:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:310:7: note: previous use is here class lto_input_block ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:708:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../gcc-5.0-20141105/gcc/lto-streamer.h:769:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../gcc-5.0-20141105/gcc/ipa-ref.h:25:7: note: previous use is here class varpool_node; ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:40: ../../gcc-5.0-20141105/gcc/lto-streamer.h:778:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:310:7: note: previous use is here class lto_input_block ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:778:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../gcc-5.0-20141105/gcc/lto-streamer.h:780:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:310:7: note: previous use is here class lto_input_block ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:780:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../gcc-5.0-20141105/gcc/lto-streamer.h:784:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:310:7: note: previous use is here class lto_input_block ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:784:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../gcc-5.0-20141105/gcc/lto-streamer.h:786:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:310:7: note: previous use is here class lto_input_block ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:786:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../gcc-5.0-20141105/gcc/lto-streamer.h:788:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:310:7: note: previous use is here class lto_input_block ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:788:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:41: ../../gcc-5.0-20141105/gcc/cgraph.h:91:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../gcc-5.0-20141105/gcc/tree-core.h:1475:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:41: ../../gcc-5.0-20141105/gcc/cgraph.h:1382:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../gcc-5.0-20141105/gcc/lto-streamer.h:310:7: note: previous use is here class lto_input_block ^ ../../gcc-5.0-20141105/gcc/cgraph.h:1382:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../gcc-5.0-20141105/gcc/cgraph.h:1433:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../gcc-5.0-20141105/gcc/cgraph.h:764:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../gcc-5.0-20141105/gcc/cgraph.h:1433:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../gcc-5.0-20141105/gcc/cgraph.h:1786:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../gcc-5.0-20141105/gcc/cgraph.h:764:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../gcc-5.0-20141105/gcc/cgraph.h:1786:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../gcc-5.0-20141105/gcc/cgraph.h:1787:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../gcc-5.0-20141105/gcc/cgraph.h:1432:17: note: previous use is here for_user)) cgraph_edge { ^ ../../gcc-5.0-20141105/gcc/cgraph.h:1787:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:51:72: error: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isalnum(int __c) {return isalnum(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:126:20: note: expanded from macro 'isalnum' #define isalnum(c) do_not_use_isalnum_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:59:72: error: use of undeclared identifier 'do_not_use_isalpha_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isalpha(int __c) {return isalpha(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:124:20: note: expanded from macro 'isalpha' #define isalpha(c) do_not_use_isalpha_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:75:72: error: use of undeclared identifier 'do_not_use_iscntrl_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_iscntrl(int __c) {return iscntrl(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:128:20: note: expanded from macro 'iscntrl' #define iscntrl(c) do_not_use_iscntrl_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:83:72: error: use of undeclared identifier 'do_not_use_isdigit_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isdigit(int __c) {return isdigit(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:130:20: note: expanded from macro 'isdigit' #define isdigit(c) do_not_use_isdigit_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:91:72: error: use of undeclared identifier 'do_not_use_isgraph_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isgraph(int __c) {return isgraph(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:132:20: note: expanded from macro 'isgraph' #define isgraph(c) do_not_use_isgraph_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:99:72: error: use of undeclared identifier 'do_not_use_islower_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_islower(int __c) {return islower(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:134:20: note: expanded from macro 'islower' #define islower(c) do_not_use_islower_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:107:72: error: use of undeclared identifier 'do_not_use_isprint_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isprint(int __c) {return isprint(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:136:20: note: expanded from macro 'isprint' #define isprint(c) do_not_use_isprint_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:115:72: error: use of undeclared identifier 'do_not_use_ispunct_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_ispunct(int __c) {return ispunct(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:138:20: note: expanded from macro 'ispunct' #define ispunct(c) do_not_use_ispunct_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:123:72: error: use of undeclared identifier 'do_not_use_isspace_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isspace(int __c) {return isspace(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:140:20: note: expanded from macro 'isspace' #define isspace(c) do_not_use_isspace_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:131:72: error: use of undeclared identifier 'do_not_use_isupper_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isupper(int __c) {return isupper(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:142:20: note: expanded from macro 'isupper' #define isupper(c) do_not_use_isupper_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:139:73: error: use of undeclared identifier 'do_not_use_isxdigit_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_isxdigit(int __c) {return isxdigit(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:144:21: note: expanded from macro 'isxdigit' #define isxdigit(c) do_not_use_isxdigit_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:147:72: error: use of undeclared identifier 'do_not_use_tolower_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_tolower(int __c) {return tolower(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:148:20: note: expanded from macro 'tolower' #define tolower(c) do_not_use_tolower_with_safe_ctype ^ In file included from ../../gcc-5.0-20141105/gcc/ipa-chkp.c:44: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:438: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwchar:107: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cwctype:54: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:155:72: error: use of undeclared identifier 'do_not_use_toupper_with_safe_ctype' inline _LIBCPP_INLINE_VISIBILITY int __libcpp_toupper(int __c) {return toupper(__c);} ^ ../../gcc-5.0-20141105/gcc/../include/safe-ctype.h:146:20: note: expanded from macro 'toupper' #define toupper(c) do_not_use_toupper_with_safe_ctype ^ 41 warnings and 13 errors generated.