Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#2509 closed defect (fixed)

MSVC: unable to compile with mpeg2

Reported by: SF/quietust Owned by: aquadran
Priority: normal Component: Port: Win32
Version: Keywords:
Cc: Game:


Following the previous change to use inttypes.h for int8_t/int16_t/etc., ScummVM no longer compiles with MSVC when MPEG2 support is enabled.

g:\scummvm\scummvm\graphics\animation.h(36): fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory

Ticket imported from: #1438846. Ticket imported from: bugs/2509.

Change History (5)

comment:1 by fingolfin, 18 years ago

What version of MSVC is that? One really would think that MS should manage to comply to the ISO *99* standard in 2006 *sigh*...

Anyway, one way to "fix" this would be to add a HAVE_INTTYPES_H #define, which is set by the configure script; and if it is not set, we do the old typedefs instead of #include <inttypes.h>

comment:2 by aquadran, 18 years ago

Resolution: fixed
Status: newclosed

comment:3 by aquadran, 18 years ago

added temporary fix

comment:4 by fingolfin, 18 years ago

Owner: set to aquadran

comment:5 by digitall, 6 years ago

Component: Port: Win32
Note: See TracTickets for help on using tickets.