#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: |
Description
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 , 19 years ago
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 19 years ago
Owner: | set to |
---|
comment:5 by , 6 years ago
Component: | → Port: Win32 |
---|
Note:
See TracTickets
for help on using tickets.
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>