|
From: Dirk E. <ed...@de...> - 2002-02-26 17:18:51
|
On Tue, Feb 26, 2002 at 06:24:57PM +0000, Luigi Ballabio wrote: > At 10:47 AM 2/26/02 -0600, Dirk Eddelbuettel wrote: > >Ok, I confirmed that on my 'Debain testing' laptop: The -pedantic switch > >breaks building of RQuantLib, using the Jan 20 CVS snapshot of QL. > > Dirk, > I didn't try it, but from your previous report, I see that > compilation fails on the instruction > > std::vector<Iterator>::iterator it = iteratorVector_.begin(); > > which is replicated in a few methods. > Does it get better if you replace every occurrence with > > typename std::vector<Iterator>::iterator it = iteratorVector_.begin(); > > ? Yes! Good stuff! I am always afraid of people who actually understand their own code :) It now works: -Wall -pedantic "clean", no warnings -Wall -pendantic -02 some warnings on uninit. enum optionType -Wall -pendantic -06 same,some warnings on uninit. enum optionType Nando: Time for a new point release? Thanks, Dirk -- Good judgement comes from experience; experience comes from bad judgement. -- Fred Brooks |