mtwomey / anic

Automatically exported from code.google.com/p/anic
1 stars 0 forks source link

Build Fail on Mac OS X as at 14 August 2012 #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make

What is the expected output? What do you see instead?
compiled app for mac os x

What version of the product are you using? On what operating system?
Mountain Lion 10.8

Please provide any additional information below.
make all
anic ANI Compiler Makefile

Cleaning build output...
Building version controller...
Building lexer structure generator...
Generating lexer structures...
Compiling lexer structure object...
Building parser structure generator...
Building parser table generator...
Constructing parser table...
Generating parser structures...
Stamping version...
./bld/getChecksumProgram.sh: line 6: type: sha256sum: not found
Version stamp is 0.74.2.18062183
Building main executable...
src/types.cpp: In member function ‘TypeStatus::operator uintptr_t() const’:
src/types.cpp:1514: error: cast from ‘Type*’ to ‘unsigned int’ loses 
precision
make: *** [anic] Error 1

Original issue reported on code.google.com by hjo...@qsens.net on 14 Aug 2012 at 8:50

GoogleCodeExporter commented 9 years ago
This is the same as issue 9 (at least, the patchfile with  issue 9 fixed it)

Original comment by a...@ajitgeorge.com on 15 Aug 2012 at 3:06

GoogleCodeExporter commented 9 years ago
Yes, it's the same issue.  Apple's Intel compiler uses LP64, so sizeof(int) != 
sizeof(int*).

Original comment by mixta...@gmail.com on 25 Jun 2013 at 8:21