BS1: Solaris x86 build fails: variable name collision
|Reported by:||SF/lblume||Owned by:||fingolfin|
On Solaris 10 x86, SS and DS are defined as macros in /usr/include/sys/regset.h, as well as a buch of other 2 and 3-letter macros.
Since those are used as variable names in ScummVM, it causes errors at build time: sword1/router.cpp:292: error: expected primary-expression before numeric constant sword1/router.cpp:292: error: expected `;' before numeric constant [...more...]
I attached a very simple patch for ScummVM 0.8.2 that renames those variables as SS_, DS_, and so on.
Ticket imported from: #1428261. Ticket imported from: bugs/2493.
Change History (6)
comment:1 by , 15 years ago
|Summary:||Solaris x86 build fails: variable name collision → BS1: Solaris x86 build fails: variable name collision|