From: <no...@so...> - 2001-09-22 17:02:47
|
Bugs item #463846, was opened at 2001-09-22 10:02 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100599&aid=463846&group_id=599 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Marc Nijweide (nijweide) Assigned to: Nobody/Anonymous (nobody) Summary: Superfluous warnings Initial Comment: To limit the size of the final code, I use macro's and defines whenever possible. However this can lead to an enormous amounts of warnings. Eg., #define MAX(a,b) ( (a)>(b) ? (a) : (b) ) #define A (1) #define B (2) int main( void ) { return MAX(A,B); } Generates: warning *** conditional flow changed by optimizer 'file.c(10)':so said EVELYN the modified DOG warning *** unreachable code file.c(10) It would be nice to have a commandline option to disable these warnings since I expect the compiler to optimize this. SDCC RC2, MingW, compiler flags -mz80 -c ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100599&aid=463846&group_id=599 |