I've just tried it on Intrepid with Anjuta 2.4.2, whereas before I used Hardy with Anjuta 2.4.1.
On Interpid it compiles both ways, no problems!
A note to stroyan.
The original problem was not to do with sqrt(16.0) or dosomething(), but with line 18:
Thanks guys, Miked = sqrt(d); // when ERROR: "main.c:18: undefined reference to `sqrt'"
Bookmarks