Commit 8b292f3f authored by Martin Marinov's avatar Martin Marinov
Browse files

Increased warnings level to 3 (from 1) in the ReForm project.

[git-p4: depot-paths = "//ReForm/ReForm/main/Base/": change = 11414]
parent 7f995d95
......@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.0)
project(Base)
my_add_subdir(Code)
my_add_subdir(Debug)
my_add_subdir(Utils)
my_add_subdir(Security)
......
set(my_headers
${CMAKE_CURRENT_SOURCE_DIR}/Quality.hh
PARENT_SCOPE
)
set(my_sources
PARENT_SCOPE
)
// (C) Copyright 2015 by Autodesk, Inc.
//
// The information contained herein is confidential, proprietary
// to Autodesk, Inc., and considered a trade secret as defined
// in section 499C of the penal code of the State of California.
// Use of this information by anyone other than authorized
// employees of Autodesk, Inc. is granted only under a written
// non-disclosure agreement, expressly prescribing the scope
// and manner of such use.
#ifndef QUALITY_HH_INCLUDED
#define QUALITY_HH_INCLUDED
// This file contains various definitions related to enforcing certain code
// quality rules, e.g., applying W4
// only test this in MSVC
#if defined(_MSC_VER)
// Some warnings are disabled permanently since the cannot be controlled on
// section basis.
//function 'function' marked as __forceinline not inlined
#pragma warning (disable: 4714)
#define LOW_CODE_QUALITY_SECTION_BEGIN __pragma(warning(push, 1))
#define LOW_CODE_QUALITY_SECTION_END __pragma(warning(pop))
#else
#define LOW_CODE_QUALITY_SECTION_BEGIN
#define LOW_CODE_QUALITY_SECTION_END
#endif // ifdef _MSC_VER
#endif // QUALITY_HH_INCLUDED
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment