Bugfix/code clean using gcc warnings (#371)
* Enable extra GCC warnings to discover subtle bugs * convert c++ comments to c comments * cleanup pedantic compiler warnings * Compile apps with GNU89 GNU99 GNU11 and GNU17 Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -42,6 +42,19 @@ extern "C" {
|
||||
void debug_printf(
|
||||
const char *format,
|
||||
...);
|
||||
BACNET_STACK_EXPORT
|
||||
int debug_aprintf(
|
||||
const char *format,
|
||||
...);
|
||||
BACNET_STACK_EXPORT
|
||||
int debug_fprintf(
|
||||
FILE *stream,
|
||||
const char *format,
|
||||
...);
|
||||
BACNET_STACK_EXPORT
|
||||
void debug_perror(
|
||||
const char *format,
|
||||
...);
|
||||
#if DEBUG_ENABLED
|
||||
/* Nothing more here */
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user