• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisiónb0f6c6d9af55ba50321148a918e0251b3e4a8706 (tree)
Tiempo2022-10-04 21:35:57
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

warning.h: Implemented CT_COMPILE_MESSAGE() and CT_COMPILE_WARNING() for bcc

Cambiar Resumen

Diferencia incremental

diff -r 5efcb16d959f -r b0f6c6d9af55 include/ctools/warning.h
--- a/include/ctools/warning.h Tue Oct 04 15:18:12 2022 +0300
+++ b/include/ctools/warning.h Tue Oct 04 15:35:57 2022 +0300
@@ -41,6 +41,10 @@
4141 # define CT_COMPILE_MESSAGE(text)\
4242 _Pragma(CT_STRINGIFY2(message #text))
4343 # endif
44+#elif defined (CT_COMPL_BCC)
45+# define CT_COMPILE_MESSAGE_AVAILABLE
46+# define CT_COMPILE_MESSAGE(text)\
47+ _Pragma(CT_STRINGIFY2(message #text))
4448 #elif defined (CT_COMPL_MSVC)
4549 # if _MSC_VER >= CT_COMPL_MSVC_STUDIO_2008
4650 # define CT_COMPILE_MESSAGE_AVAILABLE
@@ -55,6 +59,10 @@
5559 # define CT_COMPILE_WARNING_AVAILABLE
5660 # define CT_COMPILE_WARNING(text)\
5761 CT_COMPILE_MESSAGE(text)
62+#elif defined (CT_COMPL_BCC)
63+# define CT_COMPILE_WARNING_AVAILABLE
64+# define CT_COMPILE_WARNING(text)\
65+ CT_COMPILE_MESSAGE(text)
5866 #elif defined (CT_COMPL_GCC_EMULATION)
5967 # if CT_GCC_VERSION >= 40800
6068 # define CT_COMPILE_WARNING_AVAILABLE
Show on old repository browser