bug-bison
[Top][All Lists]
Advanced

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

Re: bison-2.6.1 released [stable]


From: Hans Aberg
Subject: Re: bison-2.6.1 released [stable]
Date: Mon, 30 Jul 2012 14:03:44 +0200

On 30 Jul 2012, at 13:36, Akim Demaille wrote:

>>> This version fixes a nasty Bison bug, sort of a horse-fly, whose bite
>>> makes Bison run in dangerous ways...
>> 
>> FYI, there are compiler errors when compiling on Mac OS X 10.7 using Xcode 
>> 4.4 using
>> $ export CC='xcrun clang' CXX='xcrun clang++'
>> 
>> These are the cc and c++ compilers on 10.8; gcc -> llvm-gcc is in effect 
>> deprecated, only kept for legacy.
> 
> Thanks Hans!

You are welcome.

> The warnings, I guess, are mostly in lib/, right?  There
> are many of them, and they don't really matter.

There were errors: it did not complete compilation.

Hans


----
$ make
make  all-recursive
Making all in build-aux
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
Making all in runtime-po
make[2]: Nothing to be done for `all'.
Making all in lib
  GEN      alloca.h
...
  GEN      wctype.h
make  all-am
  CC       main.o
...
  CC       error.o
../../bison-2.6.1/lib/error.c:381:12: warning: data argument not used by format 
string [-Wformat-extra-args]
           file_name, line_number);
           ^
1 warning generated.
  CC       fpending.o
...
  CC       stpcpy.o
../../bison-2.6.1/lib/stpcpy.c:36:1: error: expected parameter declarator
__stpcpy (char *dest, const char *src)
^
../../bison-2.6.1/lib/stpcpy.c:31:19: note: expanded from macro '__stpcpy'
# define __stpcpy stpcpy
                  ^
/usr/include/secure/_string.h:99:5: note: expanded from macro 'stpcpy'
  ((__darwin_obsz0 (dest) != (size_t) -1)                               \
    ^
/usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                                                              ^
../../bison-2.6.1/lib/stpcpy.c:36:1: error: expected ')'
__stpcpy (char *dest, const char *src)
^
../../bison-2.6.1/lib/stpcpy.c:31:19: note: expanded from macro '__stpcpy'
# define __stpcpy stpcpy
                  ^
/usr/include/secure/_string.h:99:5: note: expanded from macro 'stpcpy'
  ((__darwin_obsz0 (dest) != (size_t) -1)                               \
    ^
/usr/include/secure/_common.h:38:63: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                                                              ^
../../bison-2.6.1/lib/stpcpy.c:36:1: note: to match this '('
__stpcpy (char *dest, const char *src)
^
../../bison-2.6.1/lib/stpcpy.c:31:19: note: expanded from macro '__stpcpy'
# define __stpcpy stpcpy
                  ^
/usr/include/secure/_string.h:99:5: note: expanded from macro 'stpcpy'
  ((__darwin_obsz0 (dest) != (size_t) -1)                               \
    ^
/usr/include/secure/_common.h:38:54: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                                                     ^
../../bison-2.6.1/lib/stpcpy.c:36:1: error: expected ')'
__stpcpy (char *dest, const char *src)
^
../../bison-2.6.1/lib/stpcpy.c:31:19: note: expanded from macro '__stpcpy'
# define __stpcpy stpcpy
                  ^
/usr/include/secure/_string.h:99:27: note: expanded from macro 'stpcpy'
  ((__darwin_obsz0 (dest) != (size_t) -1)                               \
                          ^
../../bison-2.6.1/lib/stpcpy.c:36:1: note: to match this '('
__stpcpy (char *dest, const char *src)
^
../../bison-2.6.1/lib/stpcpy.c:31:19: note: expanded from macro '__stpcpy'
# define __stpcpy stpcpy
                  ^
/usr/include/secure/_string.h:99:4: note: expanded from macro 'stpcpy'
  ((__darwin_obsz0 (dest) != (size_t) -1)                               \
   ^
../../bison-2.6.1/lib/stpcpy.c:36:1: error: expected ')'
__stpcpy (char *dest, const char *src)
^
../../bison-2.6.1/lib/stpcpy.c:31:19: note: expanded from macro '__stpcpy'
# define __stpcpy stpcpy
                  ^
/usr/include/secure/_string.h:100:4: note: expanded from macro 'stpcpy'
   ? __builtin___stpcpy_chk (dest, src, __darwin_obsz (dest))           \
   ^
../../bison-2.6.1/lib/stpcpy.c:36:1: note: to match this '('
__stpcpy (char *dest, const char *src)
^
../../bison-2.6.1/lib/stpcpy.c:31:19: note: expanded from macro '__stpcpy'
# define __stpcpy stpcpy
                  ^
/usr/include/secure/_string.h:99:3: note: expanded from macro 'stpcpy'
  ((__darwin_obsz0 (dest) != (size_t) -1)                               \
  ^
../../bison-2.6.1/lib/stpcpy.c:36:1: error: conflicting types for 
'__builtin_object_size'
__stpcpy (char *dest, const char *src)
^
../../bison-2.6.1/lib/stpcpy.c:31:19: note: expanded from macro '__stpcpy'
# define __stpcpy stpcpy
                  ^
/usr/include/secure/_string.h:99:5: note: expanded from macro 'stpcpy'
  ((__darwin_obsz0 (dest) != (size_t) -1)                               \
    ^
/usr/include/secure/_common.h:38:32: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                               ^
/usr/include/secure/_string.h:61:56: note: '__builtin_object_size' is a builtin 
with type 'unsigned long (const void *, int)'
  return __builtin___memcpy_chk (__dest, __src, __len, __darwin_obsz0(__dest));
                                                       ^
/usr/include/secure/_common.h:38:32: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                               ^
../../bison-2.6.1/lib/stpcpy.c:36:1: error: definition of builtin function 
'__builtin_object_size'
__stpcpy (char *dest, const char *src)
^
../../bison-2.6.1/lib/stpcpy.c:31:19: note: expanded from macro '__stpcpy'
# define __stpcpy stpcpy
                  ^
/usr/include/secure/_string.h:99:5: note: expanded from macro 'stpcpy'
  ((__darwin_obsz0 (dest) != (size_t) -1)                               \
    ^
/usr/include/secure/_common.h:38:32: note: expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
                               ^
../../bison-2.6.1/lib/stpcpy.c:39:28: error: use of undeclared identifier 'src'
  register const char *s = src;
                           ^
7 errors generated.
make[3]: *** [stpcpy.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
----




reply via email to

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