[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: C++: Math function round() does not compile - why?



On Tue, 2006-02-14 at 10:54 -0600, Matt Zagrabelny wrote:
> > hmmm, have you tried to add the "-lm"  ???
> 
> i was thinking the same, but it looks as though he is only compiling,
> not linking, so one would think that '-lm' would have no impact.

That's right; the -c option was used.  This is just one module of many,
with the compilation of each module called from a makefile.

-- 
Oliver Elphick                                          olly@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA  92C8 39E7 280E 3631 3F0E  1EC0 5664 7A2F A543 10EA
                 ========================================
   Do you want to know God?   http://www.lfix.co.uk/knowing_god.html



Reply to: