I think it is about using "random()" instead of "rand()"
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Maximilian Albert Sent: donderdag 13 december 2007 21:19 To: bulia byak Cc: inkscape-devel Subject: Re: [Inkscape-devel] compile error on windows
bulia byak schrieb:
trying to compile with bob's latest mingw:
In file included from src/transf_mat_3x4.cpp:17: src/syseq.h: In function 'void SysEq::fill_random(double (*)[T], double, double)': src/syseq.h:74: error: there are no arguments to 'random'
that depend
on a template parameter, so a declaration of 'random' must be available src/syseq.h:74: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
Don't really know what causes this or what it needs to fix it (a missing include?), but it happens in one of the files I added. Since the function in question is currently not used (and probably won't be anyway), I simply removed it. Does it work now?
Max
SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n
et/marketplace
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel