00001 /***************************************************************************** 00002 * FILE: BuildWarnings.h 00003 * DESCRIPTION: Enables\Disables build warnings 00004 * CREATED BY: Attila Szabo 00005 * HISTORY: 00006 * - 2003.Oct.14 - created 00007 ****************************************************************************** 00008 * Copyright (c) 2003 Autodesk, All Rights Reserved. 00009 ******************************************************************************/ 00010 00011 #pragma once 00012 00013 // The recommended way to disable\enable warnings, or to change their level 00014 // is via the following files 00015 // maxsdk\ProjectSettings\AdditionalCompilerOptions.txt - for x32 build targets 00016 // maxsdk\ProjectSettings\AdditionalCompilerOptions64.txt - for x64 build targets 00017 00018 // Macro used to shield from changes to the syntax of the deprecated keyword, 00019 // and to make the deprecated declarations more succinct. 00020 #define MAX_DEPRECATED __declspec(deprecated) 00021 00022 // Macro used to avoid the C4100 compiler warning. Use this for function parameters 00023 // that are not used. 00024 #define UNUSED_PARAM(x) (x) 00025