3 May 2012 23:08
Inferno on Mac OS X 10.7
Hello! I am trying to build Inferno on MacOSX. Sources was taken from hg repository. Getting bunch of errors like this: --- skipped --- yacc.c:326:1: error: 'main' must return 'int' void main(int, char**); ^ yacc.c:377:1: error: 'main' must return 'int' void ^ --- skipped --- gcc -v Using built-in specs. Target: x86_64-apple-darwin11 Configured with: ../gcc-4.4.7/configure --prefix=/opt/local --build=x86_64-apple-darwin11 --enable-languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc44 --includedir=/opt/local/include/gcc44 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.4 --with-gxx-include-dir=/opt/local/include/gcc44/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --enable-stage1-checking --enable-fully-dynamic-string Thread model: posix gcc version 4.4.7 (GCC)(Continue reading)
commenting body of
the function works fine.
2012/5/4 Noah Evans <
RSS Feed