Fix warning related to format-non-iso.
Signed-off-by: Jackie9527 <80555200+Jackie9527@users.noreply.github.com>pull/5041/head
parent
7c64b6c599
commit
94067994cc
|
@ -1246,7 +1246,6 @@ IF (ASSIMP_WARNINGS_AS_ERRORS)
|
||||||
-Wno-deprecated-copy-with-dtor
|
-Wno-deprecated-copy-with-dtor
|
||||||
-Wno-deprecated
|
-Wno-deprecated
|
||||||
-Wno-format-nonliteral
|
-Wno-format-nonliteral
|
||||||
-Wno-format-non-iso
|
|
||||||
-Wno-comma
|
-Wno-comma
|
||||||
-Wno-unreachable-code-break
|
-Wno-unreachable-code-break
|
||||||
-Wno-unreachable-code-return
|
-Wno-unreachable-code-return
|
||||||
|
|
|
@ -56,7 +56,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) && !defined(__clang__)
|
||||||
#define AI_SIZEFMT "%Iu"
|
#define AI_SIZEFMT "%Iu"
|
||||||
#else
|
#else
|
||||||
#define AI_SIZEFMT "%zu"
|
#define AI_SIZEFMT "%zu"
|
||||||
|
|
Loading…
Reference in New Issue