This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
FW: Complier not giving warning/error in this scenario.. Please help..
- From: "Soujanya Gundlapalli" <souj at packetware dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Cc: <gcc-bugs at gcc dot gnu dot org>
- Date: Wed, 28 Sep 2005 20:05:37 -0700
- Subject: FW: Complier not giving warning/error in this scenario.. Please help..
Hello All,
I am trying to compile the file with the following code.
Originally it was:
if ((erc = pk_val(pline, pkt, mp, PKT_CLEAR, PK_LOCAL))
By accident I saved the file with the following code.
if ((erc = (pline, pkt, mp, PKT_CLEAR, PK_LOCAL))
By accident pk_val_call got deleted and when I complied the above code
using the options
cc -c -g, it got compiled successfully. I tried removing -g also. Even
then it gave success. Is this a problem with the compiler? Is there a
fix for this that I can use.
Appreciate your help.
Regards
Soujanya