public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/63750] New: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype'
@ 2014-11-05 16:14 howarth at bromo dot med.uc.edu
  2014-11-05 16:16 ` [Bug bootstrap/63750] " howarth at bromo dot med.uc.edu
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-05 16:14 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63750] use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype'
  2014-11-05 16:14 [Bug bootstrap/63750] New: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' howarth at bromo dot med.uc.edu
@ 2014-11-05 16:16 ` howarth at bromo dot med.uc.edu
  2014-11-05 17:38 ` howarth at bromo dot med.uc.edu
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-05 16:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63750

--- Comment #1 from howarth at bromo dot med.uc.edu ---
Bootstrap attempted with...

 ../gcc-5.0-20141105/configure --prefix=/sw --prefix=/sw/lib/gcc5.0
--mandir=/sw/share/man --infodir=/sw/lib/gcc5.0/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-isl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-5.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63750] use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype'
  2014-11-05 16:14 [Bug bootstrap/63750] New: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' howarth at bromo dot med.uc.edu
  2014-11-05 16:16 ` [Bug bootstrap/63750] " howarth at bromo dot med.uc.edu
@ 2014-11-05 17:38 ` howarth at bromo dot med.uc.edu
  2014-11-07  8:43 ` fxcoudert at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-05 17:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63750

--- Comment #2 from howarth at bromo dot med.uc.edu ---
Created attachment 33897
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33897&action=edit
patch to pass fix by appending #include <sstream> to gcc/ipa-chkp.c


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63750] use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype'
  2014-11-05 16:14 [Bug bootstrap/63750] New: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' howarth at bromo dot med.uc.edu
  2014-11-05 16:16 ` [Bug bootstrap/63750] " howarth at bromo dot med.uc.edu
  2014-11-05 17:38 ` howarth at bromo dot med.uc.edu
@ 2014-11-07  8:43 ` fxcoudert at gcc dot gnu.org
  2014-11-09 20:37 ` howarth at bromo dot med.uc.edu
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-07  8:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63750

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-07
                 CC|                            |fxcoudert at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Look at the analysis in PR63699. It's probably the same cause for the problem,
and hence the same fix.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63750] use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype'
  2014-11-05 16:14 [Bug bootstrap/63750] New: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' howarth at bromo dot med.uc.edu
                   ` (2 preceding siblings ...)
  2014-11-07  8:43 ` fxcoudert at gcc dot gnu.org
@ 2014-11-09 20:37 ` howarth at bromo dot med.uc.edu
  2014-11-11  9:20 ` fxcoudert at gcc dot gnu.org
  2014-11-11  9:22 ` fxcoudert at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-09 20:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63750

--- Comment #4 from howarth at bromo dot med.uc.edu ---
Patch posted at https://gcc.gnu.org/ml/gcc-patches/2014-11/msg00661.html.

Note that the alternate approach of modifying gcc/system.h to include <string>
conditionally on __cplusplus before "safe-ctype.h" causes bootstrap breakage
elsewhere on darwin.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63750] use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype'
  2014-11-05 16:14 [Bug bootstrap/63750] New: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' howarth at bromo dot med.uc.edu
                   ` (3 preceding siblings ...)
  2014-11-09 20:37 ` howarth at bromo dot med.uc.edu
@ 2014-11-11  9:20 ` fxcoudert at gcc dot gnu.org
  2014-11-11  9:22 ` fxcoudert at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-11  9:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63750

--- Comment #5 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Author: fxcoudert
Date: Tue Nov 11 09:20:07 2014
New Revision: 217342

URL: https://gcc.gnu.org/viewcvs?rev=217342&root=gcc&view=rev
Log:
    PR bootstrap/63699
    PR bootstrap/63750

    * system.h: Include <string> before "safe-ctype.h"
    * wide-int.h (wi::smin, wi::smax, wi::umin, wi::umax): Prefix
    calls to min/max with wi namespace.
    * ipa-chkp.c: Don't include <string>.

    * plugin.cc: Don't include <string>.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-chkp.c
    trunk/gcc/system.h
    trunk/gcc/wide-int.h
    trunk/libcc1/ChangeLog
    trunk/libcc1/plugin.cc


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/63750] use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype'
  2014-11-05 16:14 [Bug bootstrap/63750] New: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' howarth at bromo dot med.uc.edu
                   ` (4 preceding siblings ...)
  2014-11-11  9:20 ` fxcoudert at gcc dot gnu.org
@ 2014-11-11  9:22 ` fxcoudert at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-11  9:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63750

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.0

--- Comment #6 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
Fixed.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-11-11  9:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-05 16:14 [Bug bootstrap/63750] New: use of undeclared identifier 'do_not_use_isalnum_with_safe_ctype' howarth at bromo dot med.uc.edu
2014-11-05 16:16 ` [Bug bootstrap/63750] " howarth at bromo dot med.uc.edu
2014-11-05 17:38 ` howarth at bromo dot med.uc.edu
2014-11-07  8:43 ` fxcoudert at gcc dot gnu.org
2014-11-09 20:37 ` howarth at bromo dot med.uc.edu
2014-11-11  9:20 ` fxcoudert at gcc dot gnu.org
2014-11-11  9:22 ` fxcoudert at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).