compiler/libec: (#205) Corrections to integer promotions
authorJerome St-Louis <jerome@ecere.com>
Mon, 7 Jul 2014 09:21:58 +0000 (05:21 -0400)
committerJerome St-Louis <jerome@ecere.com>
Mon, 7 Jul 2014 09:21:58 +0000 (05:21 -0400)
commitd50f2422c7dd5a2f34d992bb37dca659f90fa49b
treeba0d97121d507f419a2825b5ed76aa97d8cdd422
parent3f3c5e72d6b5e4bcd1f6e5a57ce2a5e18bb30663
compiler/libec: (#205) Corrections to integer promotions
- Not promoting assignment operations
- Skipping warnings on | and & operator
- Not adding casts to integer constants fitting within a char or a short
- Tweaks to not warn on uncasted conditional expressions as the compiler will already have warned on if/else operands
- Modified MatchTypeExpression to use constant expressions within brackets
26 files changed:
compiler/bootstrap/ecere/bootstrap/DualPipe.c
compiler/bootstrap/ecere/bootstrap/File.c
compiler/bootstrap/ecere/bootstrap/String.c
compiler/bootstrap/ecere/bootstrap/instance.c
compiler/bootstrap/libec/bootstrap/ecdefs.c
compiler/bootstrap/libec/bootstrap/expression.c
compiler/bootstrap/libec/bootstrap/grammar.c
compiler/bootstrap/libec/bootstrap/lexer.c
compiler/bootstrap/libec/bootstrap/pass15.c
compiler/bootstrap/libec/bootstrap/type.c
compiler/libec/src/pass15.ec
ecere/src/com/instance.ec
ecere/src/gfx/3D/Object.ec
ecere/src/gfx/bitmaps/PCXFormat.ec
ecere/src/gui/controls/Menu.ec
ecere/src/gui/drivers/Win32ConsoleInterface.ec
ecere/src/net/HTTPFile.ec
ecere/src/sys/File.ec
ecere/src/sys/Time.ec
eda/libeda/src/gui/TableEditor.ec
extras/audio/dsound.ec
extras/gui/skins/SimSkin.ec
samples/3D/terrainCameraDemo/dna.ec
samples/games/crosswords/CrossWordsServer.ec
samples/games/crosswords/crossWords.ec
samples/net/httpserver/http.ec