From: SourceForge.net <no...@so...> - 2004-04-21 18:51:02
|
Bugs item #939511, was opened at 2004-04-21 11:50 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=939511&group_id=599 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in macros Initial Comment: I have discovered that in macros we only can use one "if" sentence. When we write "if() else if()", "if() else", or "if() if() if() ..." the compiler generates warnings: "unreachable code" I am using sdcc-2.4.0 I attach two files that show the problem when i try to compile (Cmacros.h, pruebamacros.c) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=939511&group_id=599 |