Opened 22 years ago

Closed 22 years ago

Last modified 6 years ago

#359 closed defect (outdated)

Can`t compile under QNX 6.2

Reported by: SF/rev3nant Owned by: fingolfin
Priority: normal Component: Ports
Version: Keywords:
Cc: Game:

Description

ScummVM 0.2.0 and SDL 1.2.4 Compiling (actualy not) under QNX 6.2 using gcc 2.95.3

The compiler throws me out with: g++ -g -O -Wall -Wstrict-prototypes -Wuninitialized - Wno-long-long -Wno-multichar -DUNIX `sdl-config -- cflags` -I./ -I./sound -c sdl.cpp -o sdl.o g++ -g -O -Wall -Wstrict-prototypes -Wuninitialized - Wno-long-long -Wno-multichar -DUNIX `sdl-config -- cflags` -I./ -I./sound -c actor.cpp -o actor.o actor.cpp: In method `int Scumm::getAngleFromPos(int, int)': actor.cpp:106: call of overloaded `atan2 (int &, int)' is ambiguous /usr/include/math.h:66: candidates are: double atan2 (double, double) /usr/include/math.h:289: float atan2(float, float) /usr/include/math.h:419: long double atan2 (long double, long double) actor.cpp: In method `int Scumm::calcMovementFactor (Actor *, int, int)': actor.cpp:147: call of overloaded `abs (int32)' is ambiguous /usr/include/stdlib.h:96: candidates are: int abs(int) /usr/include/math.h:232: double abs(double) /usr/include/math.h:273: float abs(float) /usr/include/math.h:403: long double abs (long double) make: *** [actor.o] Error 1

Ticket imported from: #582910. Ticket imported from: bugs/359.

Change History (3)

comment:1 by fingolfin, 22 years ago

Owner: set to fingolfin
Resolution: outdated
Status: newclosed

comment:2 by fingolfin, 22 years ago

Get latest CVS.

comment:3 by digitall, 6 years ago

Component: Ports
Note: See TracTickets for help on using tickets.