CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Warning use of oldstyle cast

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2005, 08:05
Default Hi. I've just installed 1.2 an
  #1
Senior Member
 
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 17
grtabor is on a distinguished road
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
grtabor is offline   Reply With Quote

Old   September 7, 2005, 08:11
Default All the compiler switches are
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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.
henry is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
warning #064 ema Siemens 1 August 25, 2005 06:45
warning # 90 vishal Siemens 1 August 11, 2005 10:19
*** WARNING #052 *** Cirilo Siemens 1 July 27, 2005 09:34
Warning Paco Siemens 0 June 23, 2005 03:33
Warning #007 Shazlan Siemens 3 March 24, 2005 05:49


All times are GMT -4. The time now is 01:23.