From: Ian S. <ian...@st...> - 2003-11-13 09:53:54
|
Put it in as an option- default off. Have the dashboards turn it on manually. Ian. > -----Original Message----- > From: Amitha Perera [mailto:pe...@cs...] > Sent: Thursday, November 13, 2003 4:47 AM > To: vxl...@li... > Subject: [Vxl-maintainers] Compiler options to force std C++? > > > Hi all > > Does it make sense for VXL to add compiler options to make the > compiler more standards compliant? > > For example, adding the flag /Za to the Microsoft compiler disables MS > extensions and fixes some things, like the scope of the variable in a > for loop. > > Since VXL is meant to be in Standard C++, and given that vcl tries to > fix the system standard library to be Standard, I think that we should > forcefully add compiler options that make the compiler as standards > compliant as possible. This should apply to the MS compiler (/Za), to > the MIPSpro compiler (-Llang:std), and any other compiler. > > However, I think this effect will percolate to the "private" projects > that use VXL. I feel that's okay, and if it causes trouble, those > projects should fix their code to be C++. But I'd appreciate other > opinions before I start looking into this further. > > Thanks, > Amitha. > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Vxl-maintainers mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-maintainers > |