13 Dec
2007
13 Dec
'07
8:18 p.m.
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