Skip to content

build issue with OSX 10.6.5 #1

Description

@handrake

I think this might be gcc version issue.

Byoung-Gi-Lees-MacBook-Pro:ylisp handrake$ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5659~1/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5659)

Byoung-Gi-Lees-MacBook-Pro:ylisp handrake$ bash build.sh

--- build ylisp
rm -f .mod *.o *.obj .lo ylisp libylisp.a libylisp.so
rm -rf .deps/
rm -rf
gcc -I../include -g -Wall -o lisp.o -c lisp.c
In file included from lisp.h:72,
from lisp.c:26:
ylsfunc.h: In function ‘ylsubst’:
ylsfunc.h:197: warning: control reaches end of non-void function
In file included from lisp.h:73,
from lisp.c:26:
yldynb.h: At top level:
yldynb.h:50: error: expected declaration specifiers or ‘...’ before numeric constant
yldynb.h:50: error: expected ‘)’ before ‘!=’ token
yldynb.h:50: error: expected ‘)’ before ‘?’ token
yldynb.h: In function ‘yldynb_shrink’:
yldynb.h:132: warning: cast from pointer to integer of different size
lisp.c: In function ‘ylelist_size’:
lisp.c:377: warning: cast from pointer to integer of different size
make: *
* [lisp.o] Error 1
There is ERROR : 0...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions