Changes between Version 21 and Version 22 of Submitting/C


Ignore:
Timestamp:
Jun 11, 2014, 10:23:21 AM (10 years ago)
Author:
martinl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/C

    v21 v22  
    122122}}}
    123123
    124 9.  Use `fprintf()` instead of `printf()`
    125    
    126     For errors and warnings please use the `G_fatal_error()` and `G_warning()` functions. General messages for the user should use `G_message()` while debug messages should use `G_debug()` whenever
     1249.  Use `fprintf()` instead of `printf()`. For errors and warnings please use the `G_fatal_error()` and `G_warning()` functions
     125
     126    General messages for the user should use `G_message()` while debug messages should use `G_debug()` whenever
    127127possible. There are two variants to `G_message()`: `G_verbose_message()` which will only display the message if in `--verbose` mode, and `G_important_message()` which will always show the message unless the module is running in `--quiet` mode. `G_fatal_error()` and `G_warning()` will always be displayed regardless of verbosity setting. Messages sent to any of these functions will be printed to stderr.
    128128