Opened 10 years ago

Closed 10 years ago

Last modified 5 years 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
Version: 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, 10 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, 10 years ago

Owner: set to digitall
Resolution: duplicate
Status: newclosed

comment:3 by lolbot-iichan, 5 years 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.