No luck for me, too. Ubuntu Desktop 10.10, 64bit.
anic ANI Compiler Makefile
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...
Version stamp is 0.74.2.22722928
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
src/genner.cpp: In member function ‘std::string
WordTree64::toString(unsigned int) const’:
src/genner.cpp:220: warning: format ‘%08llX’ expects type ‘long long
unsigned int’, but argument 3 has type ‘long unsigned int’
make: *** [anic] Error 1
Regards,
Armin
On 13 Nov., 02:26, Schell <
efsubeno...@gmail.com> wrote:
> I'm getting a similar error:
>
> anic ANI Compiler Makefile
>
> 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
>
> I'm on OSX 10.6.5
>
> On Nov 12, 11:50 am, Max Shron <
max.sh...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Tried it on 64-bit Ubuntu server running 2.6.32 and 64-bit FreeBSD 8.0-
> > RELEASE. Tried both gmake and the FreeBSD make. Same error every time:
>
> > $ make
> > ...
>
> > 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
> > src/genner.cpp: In member function 'std::string
> > WordTree64::toString(unsigned int) const':
> > src/genner.cpp:220: warning:format'%08llX'expectstype'long long
> > unsigned int', but argument 3 hastype'long unsigned int'