Opened 5 years ago

Closed 5 years ago

#6626 closed defect (duplicate)

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 (2)

comment:1 Changed 5 years ago by digitall

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 Changed 5 years ago by digitall

Owner: set to digitall
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.