CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Warning use of oldstyle cast (

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).


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 11:05.