#93739# provoking error for PP (sunpro)
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: lbnames.h,v $
|
||||
*
|
||||
* $Revision: 1.5 $
|
||||
* $Revision: 1.6 $
|
||||
*
|
||||
* last change: $Author: dbo $ $Date: 2001-10-26 07:43:46 $
|
||||
* last change: $Author: dbo $ $Date: 2001-10-26 08:14:51 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -79,10 +79,12 @@
|
||||
#elif defined (__SUNPRO_CC)
|
||||
#if (__SUNPRO_CC < 0x500)
|
||||
#error "sunpro cc must be at least 5.x"
|
||||
provoking error here, because sunpro PP ignores #error
|
||||
#elif (__SUNPRO_CC < 0x600)
|
||||
#define __CPPU_ENV sunpro5
|
||||
#else
|
||||
#error "sunpro cc version must be 5.x"
|
||||
provoking error here, because sunpro PP ignores #error
|
||||
#endif /* defined (__SUNPRO_CC) */
|
||||
/* g++ 2.x, 3.0 */
|
||||
#elif defined (__GNUC__)
|
||||
@@ -109,6 +111,7 @@
|
||||
/* test: whether given CPPU_ENV matches expected one */
|
||||
#if (CPPU_ENV != __CPPU_ENV)
|
||||
#error "CPPU_ENV: unexpected env!"
|
||||
provoking error here, because sunpro PP ignores #error
|
||||
#endif
|
||||
|
||||
#define CPPU_STRINGIFY_EX( x ) #x
|
||||
@@ -118,6 +121,7 @@
|
||||
|
||||
#else
|
||||
#error "No supported C++ compiler environment."
|
||||
provoking error here, because sunpro PP ignores #error
|
||||
#endif /* CPPU_ENV */
|
||||
|
||||
#endif /** __cplusplus */
|
||||
|
Reference in New Issue
Block a user