coduin / epiphany-bsp

BSP implementation for the Parallella; the world's smallest supercomputer
https://jwbuurlage.github.io/epiphany-bsp/
GNU General Public License v3.0
27 stars 14 forks source link

ebsp_message fancy compiler warnings #9

Closed Tombana closed 9 years ago

Tombana commented 9 years ago

With a proper definition (read: like two or three really long lines) the compiler will give you a warning for:

ebsp_message("Improper arguments %d !", 5, 7);
ebsp_message("Improper arguments %d %d !", 5);

Right now there are no warnings for the above lines but this could be arranged.

Tombana commented 9 years ago

Added better function definition that corresponds to a printf definition.