CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Warning use of oldstyle cast (https://www.cfd-online.com/Forums/openfoam-installation/57718-warning-use-oldstyle-cast.html)

grtabor September 7, 2005 07:05

Hi. I've just installed 1.2 an
 
Hi. I've just installed 1.2 and am trying to make some code work. The code is a GUI for blockMesh using FOX; and it keeps spitting out 'Warning: use of old-style cast' warning messages (principally from the FOX code sections, not OpenFOAM). How can I switch the compiler to ignore these warnings? (They are making it rather difficult to sort out what is _actually_ going wrong).

Gavin

henry September 7, 2005 07:11

All the compiler switches are
 
All the compiler switches are in the files in the wmake/rules/* directories, the ones corresponding to the c++ compiler warnings are in the c++ file and the one you want to remove is -Wold-style-cast as you might guess.


All times are GMT -4. The time now is 08:17.