Skip to content
Snippets Groups Projects
Commit 8f22912b authored by Kitware Robot's avatar Kitware Robot Committed by Brad King
Browse files

KWIML 2017-02-27 (aa3a7733)

Code extracted from:

    https://gitlab.kitware.com/utils/kwiml.git

at commit aa3a7733039afb11047fb7d4d71fb26e1775c106 (master).
parent f8fd9071
No related branches found
No related tags found
No related merge requests found
Kitware Information Macro Library
Copyright 2010-2015 Kitware, Inc.
Copyright 2010-2016 Kitware, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
......
/*============================================================================
Kitware Information Macro Library
Copyright 2010-2015 Kitware, Inc.
Copyright 2010-2016 Kitware, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
......@@ -467,6 +467,10 @@ suppression macro KWIML_ABI_NO_VERIFY was defined.
#elif defined(__XTENSA_EL__)
# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
/* RISC-V */
#elif defined(__riscv__)
# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
/* Unknown CPU */
#elif !defined(KWIML_ABI_NO_ERROR_ENDIAN)
# error "Byte order of target CPU unknown."
......
/*============================================================================
Kitware Information Macro Library
Copyright 2010-2015 Kitware, Inc.
Copyright 2010-2016 Kitware, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
......
/*============================================================================
Kitware Information Macro Library
Copyright 2010-2015 Kitware, Inc.
Copyright 2010-2016 Kitware, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
......
......@@ -10,7 +10,7 @@ endif()
# Suppress printf/scanf format warnings; we test if the sizes match.
foreach(lang C CXX)
if(KWIML_LANGUAGE_${lang} AND CMAKE_${lang}_COMPILER_ID STREQUAL "GNU")
set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format")
set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format -Wno-format-security")
endif()
endforeach()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment