A Dimarts 19 Desembre 2006 18:28, Francesc Altet escrigué: > Hi Norbert, > > A Dimarts 19 Desembre 2006 15:00, Norbert Nemec escrigué: > > Hi there, > > > > in the current version of pytables, gcc gets the option -Wall causing a > > ton of warnings when compiling PyX code. Since this is a problem of PyX > > and not of PyTables, I would suggest suppressing these warnings (see > > attached patch). > > Yes. I think this is a good idea (at least for end users), so I > checked it out for the forthcoming PyTables 1.4. >
Sorry, but I've changed my mind. In general, suppressing all the warnings is not a good thing. For instance, I remember that a Debian developer had a problem with the 64-bit port of PyTables and discover the flaw just by looking at the warnings in the build log. What I've done is the addition of a 'eflags' parameter to setup.py. These flags will be passed directly to the compiler, so that users can reduce the level of warning, or change the default optimization level by issuing, for example: python2.5 setup.py build_ext --inplace --eflags='-w -O3' Cheers, -- >0,0< Francesc Altet http://www.carabos.com/ V V Cárabos Coop. V. Enjoy Data "-" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users