Update to build on Xcode 6.0: remove #pragmas from code to deal with tut warnigs/errors (moved to package) AND bracket clang #pragmas in #if LL_DARWIN
parent
cad1df584b
commit
f3baf8dc4e
|
|
@ -38,10 +38,14 @@
|
|||
#include "kdu_params.h"
|
||||
|
||||
// don't *really* want to rebuild KDU so turn off specific warnings for this header
|
||||
#if LL_DARWIN
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-private-field"
|
||||
#include "kdu_compressed.h"
|
||||
#pragma clang diagnostic pop
|
||||
#elif
|
||||
#include "kdu_compressed.h"
|
||||
#endif
|
||||
|
||||
#include "kdu_sample_processing.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,11 +30,16 @@
|
|||
// Support classes for reading and writing from memory buffers in KDU
|
||||
#define KDU_NO_THREADS
|
||||
// don't *really* want to rebuild KDU so turn off specific warnings for this header
|
||||
#if LL_DARWIN
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wself-assign-field"
|
||||
#pragma clang diagnostic ignored "-Wunused-private-field"
|
||||
#include "kdu_image.h"
|
||||
#pragma clang diagnostic pop
|
||||
#elif
|
||||
#include "kdu_image.h"
|
||||
#endif
|
||||
|
||||
#include "kdu_elementary.h"
|
||||
#include "kdu_messaging.h"
|
||||
#include "kdu_params.h"
|
||||
|
|
|
|||
|
|
@ -25,11 +25,7 @@
|
|||
* $/LicenseInfo$
|
||||
*/
|
||||
|
||||
// turn off warnings about unused functions from clang for tut package
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-function"
|
||||
#include <tut/tut.hpp>
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
#include "linden_common.h"
|
||||
#include "llapp.h"
|
||||
|
|
|
|||
|
|
@ -26,14 +26,7 @@
|
|||
* $/LicenseInfo$
|
||||
*/
|
||||
|
||||
#if LL_DARWIN
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-function"
|
||||
#include <tut/tut.hpp>
|
||||
#pragma clang diagnostic pop
|
||||
#elif
|
||||
#include <tut/tut.hpp>
|
||||
#endif
|
||||
|
||||
#include "linden_common.h"
|
||||
#include "lltut.h"
|
||||
|
|
|
|||
|
|
@ -29,14 +29,7 @@
|
|||
#include <tut/tut.hpp>
|
||||
#include "linden_common.h"
|
||||
|
||||
#if LL_DARWIN
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-function"
|
||||
#include "lltut.h"
|
||||
#pragma clang diagnostic pop
|
||||
#elif
|
||||
#include "lltut.h"
|
||||
#endif
|
||||
|
||||
#include "message.h"
|
||||
#include "llpermissions.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue