residual/residual — Issue #448: ALL: Compiler error
Author: raziel-
Created: 2012-01-01 08:09:11+00:00
State: open

ra877215 throws a compiler error

C++ engines/grim/costume/emimesh_component.o
In file included from ./engines/grim/costume/emimesh_component.h:26,
from engines/grim/costume/emimesh_component.cpp:25:
./engines/grim/costume/component.h:50: warning: unused parameter 'time'
engines/grim/costume/emimesh_component.cpp:31: warning: unused parameter 'prevComponent'
engines/grim/costume/emimesh_component.cpp:56: warning: unused parameter 'time'
C++ engines/grim/costume/emiskel_component.o
In file included from ./engines/grim/costume/emiskel_component.h:26,
from engines/grim/costume/emiskel_component.cpp:25:
./engines/grim/costume/component.h:50: warning: unused parameter 'time'
engines/grim/costume/emiskel_component.cpp:31: warning: unused parameter 'prevComponent'
engines/grim/costume/emiskel_component.cpp:43: warning: unused parameter 'time'
C++ engines/grim/bitmap.o
In file included from ./engines/grim/grim.h:26,
from engines/grim/bitmap.cpp:30:
./engines/engine.h:162: warning: unused parameter 'f'
In file included from ./engines/metaengine.h:31,
from ./engines/advancedDetector.h:26,
from ./engines/grim/grim.h:31,
from engines/grim/bitmap.cpp:30:
./base/plugins.h:329: warning: unused parameter 'gameId'
./base/plugins.h:330: warning: unused parameter 'gameId'
In file included from ./engines/advancedDetector.h:26,
from ./engines/grim/grim.h:31,
from engines/grim/bitmap.cpp:30:
./engines/metaengine.h:96: warning: unused parameter 'target'
./engines/metaengine.h:126: warning: unused parameter 'target'
./engines/metaengine.h:126: warning: unused parameter 'slot'
./engines/metaengine.h:137: warning: unused parameter 'target'
./engines/metaengine.h:137: warning: unused parameter 'slot'
./engines/metaengine.h:211: warning: unused parameter 'f'
In file included from ./engines/grim/grim.h:31,
from engines/grim/bitmap.cpp:30:
./engines/advancedDetector.h:230: warning: unused parameter 'allFiles'
./engines/advancedDetector.h:230: warning: unused parameter 'fslist'
engines/grim/bitmap.cpp: In constructor 'Grim::BitmapData::BitmapData(const Common::String&, Common::SeekableReadStream*)':
engines/grim/bitmap.cpp:124: error: duplicate case value
engines/grim/bitmap.cpp:121: error: previously used here
engines/grim/bitmap.cpp: At global scope:
engines/grim/bitmap.cpp:252: warning: unused parameter 'fname'
gmake: *** [engines/grim/bitmap.o] Error 1

gcc (GCC) 4.2.4 (adtools build 20090118)
AmigaOS4 - PPC - SDL - BE