one endif too much; refs #12
This commit is contained in:
@@ -33,20 +33,20 @@
|
|||||||
// __cplusplus==1 is a known bug in gcc 4.6.3
|
// __cplusplus==1 is a known bug in gcc 4.6.3
|
||||||
# warning your compiler has a know bug, please upgrade to gcc >= 4.7
|
# warning your compiler has a know bug, please upgrade to gcc >= 4.7
|
||||||
# warning see __cplusplus in http://gcc.gnu.org/gcc-4.7/changes.html
|
# warning see __cplusplus in http://gcc.gnu.org/gcc-4.7/changes.html
|
||||||
# endif
|
|
||||||
# else
|
|
||||||
/// Code is compiled with an old non C++11 standard compliant compiler
|
|
||||||
/** There are workarounds for old non C++11 compatible
|
|
||||||
compilers. These workarounds are deprecated, but will remain until
|
|
||||||
most compilers fully support C++11. So this workaround will be
|
|
||||||
removed in future releases, when support for C++11 is more
|
|
||||||
common. Only rely on this workaround, if you really have to. */
|
|
||||||
# define MRW__OLD_PRE11_COMPILER
|
|
||||||
# warning you need a C++11 compliant compiler, on gcc: add -std=c++11
|
|
||||||
# warning emulating C++11 - this changes the way you use the library
|
|
||||||
# warning this is deprecated and will be removed in future releases
|
|
||||||
# warning refere to the library documentation for more details
|
|
||||||
# endif
|
# endif
|
||||||
|
# else
|
||||||
|
/// Code is compiled with an old non C++11 standard compliant compiler
|
||||||
|
/** There are workarounds for old non C++11 compatible
|
||||||
|
compilers. These workarounds are deprecated, but will
|
||||||
|
remain until most compilers fully support C++11. So this
|
||||||
|
workaround will be removed in future releases, when support
|
||||||
|
for C++11 is more common. Only rely on this workaround, if
|
||||||
|
you really have to. */
|
||||||
|
# define MRW__OLD_PRE11_COMPILER
|
||||||
|
# warning you need a C++11 compliant compiler, on gcc: add -std=c++11
|
||||||
|
# warning emulating C++11 - this changes the way you use the library
|
||||||
|
# warning this is deprecated and will be removed in future releases
|
||||||
|
# warning refere to the library documentation for more details
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user