I would like to write a Pragma warning in GNU g ++ for every user who compiles my codes.
How can i do this? I am using the GNU g ++ compiler.
Support for MSVC and the new GCC:
#pragma message ( "your warning text here" )
GCC also uses a different syntax:
#warning "you warning text here"
See also the question: Portability of the Preprocessor Directive # Warnings and GCC Documentation
Source: https://habr.com/ru/post/922175/More articles:show all results on one page (gem kaminari) - ruby ββ| fooobar.comChoosing a custom output cache provider for specific controller actions - c #How does the preprocessor macro work? - cHow do you handle Ajax requests in Spring MVC? - javaStop MAMP MySQL - mysqlDjango: best way to add filtering (and sorting) to a (generic) ListView class? - sortingLink to another page -> jquery scroll to a specific anchor - jqueryThreadPoolExecutor and Queue - javaGetting $ _GET parameters from a route in Zend Framework 2 - phpHow to access a routed parameter from inside the controller? - phpAll Articles