Undefined round

From AGwiki
Jump to: navigation, search

If while compiling a project using gcc/g++, you get errors referencing and undefined round(...) function, add -D_GNU_SOURCE to the Makefile.