mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 04:31:58 +08:00
New gcode visualization library - Added suppression of error 'This function or variable may be unsafe' in VS2022
This commit is contained in:
parent
d7d0f3e28c
commit
16d96f96f8
@ -9,6 +9,11 @@
|
||||
#include <cctype>
|
||||
#include <stdio.h>
|
||||
|
||||
// Visual Studio warnings
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen
|
||||
#endif // _MSC_VER
|
||||
|
||||
namespace libvgcode {
|
||||
|
||||
#ifdef HAS_GLSAFE
|
||||
|
Loading…
x
Reference in New Issue
Block a user