[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Compiling in MSVC of the latest Allegro gives the following warnings due
to const (in)correctness. I don't think I'd be able to correct them, but
I've listed them just for reference.
obj/msvc/runner.exe cl @ -nologo -DALLEGRO_SRC -DDEBUGMODE=1 -W1 -Gd -Zi
-MTd -I
. -I./include -Foobj/msvc/alld/glyph.obj -c src/glyph.c
glyph.c
src/glyph.c(144) : warning C4090: 'initializing' : different 'const'
qualifiers
src/glyph.c(158) : warning C4090: 'initializing' : different 'const'
qualifiers
src/glyph.c(172) : warning C4090: 'initializing' : different 'const'
qualifiers
src/glyph.c(186) : warning C4090: 'initializing' : different 'const'
qualifiers
obj/msvc/runner.exe cl @ -nologo -DALLEGRO_SRC -DDEBUGMODE=1 -W1 -Gd -Zi
-MTd -I
. -I./include -Foobj/msvc/alld/modesel.obj -c src/modesel.c
modesel.c
src/modesel.c(243) : warning C4090: 'initializing' : different 'const'
qualifiers
src/modesel.c(244) : warning C4090: 'initializing' : different 'const'
qualifiers
src/modesel.c(258) : warning C4090: 'initializing' : different 'const'
qualifiers
src/modesel.c(259) : warning C4090: 'initializing' : different 'const'
qualifiers
src/modesel.c(260) : warning C4090: 'initializing' : different 'const'
qualifiers
obj/msvc/runner.exe cl @ -nologo -DDEBUGMODE=1 -W1 -Gd -Zi -MTd -I.
-I./include
-Foobj/msvc/alld/setup.obj -c setup/setup.c
setup.c
setup/setup.c(1802) : warning C4090: 'initializing' : different 'const'
qualifiers
setup/setup.c(1814) : warning C4090: 'initializing' : different 'const'
qualifiers
obj/msvc/runner.exe cl @ -nologo -DDEBUGMODE=1 -W1 -Gd -Zi -MTd -I.
-I./include
-Foobj/msvc/alld/datgrid.obj -c tools/plugins/datgrid.c
datgrid.c
tools/plugins/datgrid.c(367) : warning C4090: 'initializing' : different
'const' qualifiers
tools/plugins/datgrid.c(369) : warning C4090: 'initializing' : different
'const' qualifiers
tools/plugins/datgrid.c(203) : warning C4700: local variable 'dat' used
without having been initialized
--
- Robert J Ohannessian