bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

need warning number's list !!!! URGENT !!!!!!!!!


From: Artak Avetyan
Subject: need warning number's list !!!! URGENT !!!!!!!!!
Date: Fri, 19 Jan 2001 14:56:22 +0300

Hi

PLEASE  HELP !!!!!!!!!

I need the list of warnings. Need to disable some warnings. How can I
find info. In my project I already have about 50 stupid warnings,  which
is not connected with my codes (they come from Standard Header Files),
it disturbs me when I look for errors.
For example in a sample :

#include <stdio.h>
int main(int argc, char *argv[])
{
 char szBuffer[256];
 long num = 10;
 sprintf(szBuffer, "the Number is %d.\n", num);
 fwrite(szBuffer, 1, (long)strlen(szBuffer), stdout);
 return 0;
}

I receive following messages:

c++ -DHAVE_CONFIG_H -I. -I. -I..     -O0 -g3 -Wall -c main.cpp
main.cpp: In function `int main(int, char **)':
main.cpp:32: warning: int format, long int arg (arg 3)
*** success ***

How can I disable it !!!!!!!!!

With regards,
Artak.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]