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