mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
Remove borland workarounds.
CMake 3.0 is the last release to require to be able to build with Borland.
This commit is contained in:
@@ -52,12 +52,6 @@ static void cmDependsJavaError(yyscan_t yyscanner, const char* message);
|
||||
#define jpElementStart(cnt) yyGetParser->PrepareElement(&yyval)
|
||||
#define jpStoreClass(str) yyGetParser->AddClassFound(str); yyGetParser->DeallocateParserType(&(str))
|
||||
/* Disable some warnings in the generated code. */
|
||||
#ifdef __BORLANDC__
|
||||
# pragma warn -8004 /* Variable assigned a value that is not used. */
|
||||
# pragma warn -8008 /* condition always returns true */
|
||||
# pragma warn -8060 /* possibly incorrect assignment */
|
||||
# pragma warn -8066 /* unreachable code */
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
# pragma warning (disable: 4102) /* Unused goto label. */
|
||||
# pragma warning (disable: 4065) /* Switch statement contains default but no case. */
|
||||
|
||||
Reference in New Issue
Block a user