warning C4996 und warning LNK4099
-
hi,
kann ich dieses warning "warning C4996" irgentwie abschalten ohne #pragma anweisungen zu benutzen irgentwie mit einer einstelung und so.
1>c:\users\master_user\desktop\dbcreate_v2\dbcreate.c(40) : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 8\vc\include\string.h(74) : see declaration of 'strcpy'
1>c:\users\master_user\desktop\dbcreate_v2\dbcreate.c(41) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> c:\program files\microsoft visual studio 8\vc\include\string.h(79) : see declaration of 'strcat'
1>c:\users\master_user\desktop\dbcreate_v2\dbcreate.c(54) : warning C4996: 'chdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _chdir. See online help for details.
1> c:\program files\microsoft visual studio 8\vc\include\direct.h(127) : see declaration of 'chdir'und zweitens was bedeutet dieser error.
1>HF_Lib.lib(HF_Lib.obj) : warning LNK4099: PDB 'vc60.pdb' was not found with '.\HF_Lib.lib' or at 'c:\users\master_user\desktop\dbcreate_v2\debug\vc60.pdb'; linking object as if no debug info
1>BF_Lib.lib(BF_Lib.obj) : warning LNK4099: PDB 'vc60.pdb' was not found with '.\BF_Lib.lib' or at 'c:\users\master_user\desktop\dbcreate_v2\debug\vc60.pdb'; linking object as if no debug info
1>AM_Lib.lib(AM_Lib.obj) : warning LNK4099: PDB 'vc60.pdb' was not found with '.\AM_Lib.lib' or at 'c:\users\master_user\desktop\dbcreate_v2\debug\vc60.pdb'; linking object as if no debug info
1kann ich das auch irgentwie abschalten oder is das was wichtiges?.
Vilen dank im voraus
-
zu 1.
#define _CRT_SECURE_NO_WARNINGS
-
okey danke, aber jetzt noch ne dumme frage wen ich das jetzt mit gcc z.b. compilern will bekomm ich keine probleme oder?.
Viellen Dank noch mal und so schnneeeeeeeeeeelllll
:).
-
Dürfte keine Probleme geben.
Denke der GCC kennt dieses define nicht, also wird er es nicht beachten.
-
Ok dann ;). Dank ncoh mal.