Opened 4 years ago

Closed 4 years ago

#11678 closed defect (fixed)

ULTIMA4: fails to build for symbian

Reported by: fedor4ever Owned by: dreammaster
Priority: normal Component: Engine: Ultima
Version: Keywords:
Cc: fedor4ever Game: Ultima IV: Quest of the Avatar

Description

Function named
void ASSERT(bool exp, const char *desc, ...);
declared in scummvm\engines\ultima\ultima4\core\utils.h conflicts with builtin macro ASSERT(x).

Why choose that literally keyword as function name?

Attachments (1)

utils.h.diff (567 bytes ) - added by fedor4ever 4 years ago.

Download all attachments as: .zip

Change History (2)

by fedor4ever, 4 years ago

Attachment: utils.h.diff added

comment:1 by dreammaster, 4 years ago

Game: Ultima IV: Quest of the Avatar
Owner: set to dreammaster
Resolution: fixed
Status: newclosed
Summary: ULTIMA ENGINE: fails to build for symbianULTIMA4: fails to build for symbian

The given function was named that in the original xu4 project, and I wasn't previously aware of any conflict. I've now renamed it to avoid the conflict.

Note: See TracTickets for help on using tickets.