Coding Guidelines/Compiler Features
Jump to navigation
Jump to search
Amanda assumes the following are available during compilation:
- C99 compiler (gcc or vendor compiler)
- GNU make
- basic shell tools to run 'autoconf' (including sed and awk)
We work hard to eliminate compiler warnings. The glib symbol G_GNUC_UNUSED can be used to avoid warnings about unused parameters:
void my_callback(int fd, G_GNUC_UNUSED user_data) { ... }