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

warning message C4005: 'stdout' macro redefinition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2007, 07:57
Default warning message C4005: 'stdout' macro redefinition
  #1
Vitalij
Guest
 
Posts: n/a
Hi

If I compile my UDF, I get error massage: c:\fluent.inc\fluent6.3.28\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(160) : see previous definition of 'stdout'

What can it mean and what can I do?

I know, that information about this problem could be found here: http://www.fluentusers.com/support/i...ouble_cudf.htm

but I don't have account for fluentusers.com. Can sombody copy from this Link a text for me? Thank's a lot!

Vitali

  Reply With Quote

Old   August 11, 2007, 09:05
Default Re: warning message C4005: 'stdout' macro redefini
  #2
Joe
Guest
 
Posts: n/a
You can safely ignore that warning and warnings similar to it.
  Reply With Quote

Old   August 1, 2012, 20:12
Default
  #3
New Member
 
hassan salem
Join Date: Aug 2012
Posts: 5
Rep Power: 13
hassansalem is on a distinguished road
If you are using Visual Studio 2005 Express or Standard Edition you might see warnings in the FLUENT window when you compile your UDF.
For example: warning C4005: 'stdout' : macro redefinition, etc. The UDF does compile and is able to load. You can disregard these warnings.
Explanation: These warning are in regard to the user defined data sections where users write-to/read-from the FLUENT data file in their UDF explicitly.
If you want to get rid of the warnings, you may put the following at the very top of your UDF source file:
#define USE_FLUENT_IO_API 0
Additionally, if you want to use user defined data sections, i.e., input from / output to the FLUENT data file in theUDF you will need to put the following definition before the include of "udf.h":
#define USE_FLUENT_IO_API 1
In addition, users are restricted to using the following six I/O functions:
fopen
fclose
fread
fwrite
fprintf
fscanf
hassansalem 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
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 06:59
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
Warning 097- AB Siemens 6 November 15, 2004 04:41


All times are GMT -4. The time now is 21:13.