Opened 5 years ago

Closed 5 years ago

Last modified 4 months ago

#6626 closed defect (duplicate)

SYMBIAN: WINTERMUTE: script.cpp:491: warning: dereferencing type-punned pointer will break strict-aliasing rules

Reported by: SF/superzanac Owned by: digitall
Priority: normal Component: Engine: Wintermute
Keywords: Cc:
Game: Wintermute

Description

Scummvn 1.7.0 from today sources
Compilation warnings - dereferencing type-punned pointer will break strict-aliasing rules

Host platform - Win32, target plat - Symbian/ARM
Compiler - GCCE 4.4.1 from Codesourcery for Symbian

Compiler's log:

/Symbian/Projects/SDL/scummvm/engines/wintermute/base/scriptables/script.cpp: In member function 'double Wintermute::ScScript::getFloat()':
/Symbian/Projects/SDL/scummvm/engines/wintermute/base/scriptables/script.cpp:491: warning: dereferencing type-punned pointer will break strict-aliasing rules

Ticket imported from: bugs/6626.

Change History (3)

comment:1 by digitall, 5 years ago

As much as we dislike "compound" bugs, having a separate bug for every compilation warning, especially when they are the same class of warning in the same engine is stupid.

Closing this as merged into bug #6625

comment:2 by digitall, 5 years ago

Owner: set to digitall
Resolution: duplicate
Status: newclosed

comment:3 by lolbot-iichan, 4 months ago

Summary: script.cpp:491: warning: dereferencing type-punned pointer will break strict-aliasing rulesSYMBIAN: WINTERMUTE: script.cpp:491: warning: dereferencing type-punned pointer will break strict-aliasing rules
Note: See TracTickets for help on using tickets.