Changes between Version 21 and Version 22 of Submitting/C
- Timestamp:
- 06/11/14 10:23:21 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Submitting/C
v21 v22 122 122 }}} 123 123 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()` whenever124 9. 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 127 127 possible. 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. 128 128