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

Warning use of oldstyle cast

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 7, 2005, 07:05
Default Hi. I've just installed 1.2 an
  #1
Senior Member
 
Gavin Tabor
Join Date: Mar 2009
Posts: 181
Rep Power: 8
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, 07:11
Default All the compiler switches are
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 02:34.