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

compiler information

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2007, 15:51
Default compiler information
  #1
braket
Guest
 
Posts: n/a
Guys,

In Fluent, I compiled my UDF. The system gave the information: ========================= \fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition

\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(160) : see previous definition of 'stdout'

\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition

\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(161) : see previous definition of 'stderr' c:\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition

\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(159) : see previous definition of 'stdin' # Generating udf_names.c because of makefile JES.obj udf_names.c

\fluent.inc\fluent6.3.26\src\machine.h(114) : warning C4005: 'stdout' : macro redefinition

\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(160) : see previous definition of 'stdout'

\fluent.inc\fluent6.3.26\src\machine.h(115) : warning C4005: 'stderr' : macro redefinition

\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(161) : see previous definition of 'stderr'

\fluent.inc\fluent6.3.26\src\machine.h(116) : warning C4005: 'stdin' : macro redefinition

\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(159) : see previous definition of 'stdin' # Linking libudf.dll because of makefile user_nt.udf udf_names.obj test.obj Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved.

Creating library libudf.lib and object libudf.exp

Done. ==================================================

In the UDF, I tried to use "printf" to show the results on the console. Actually, the command could not be correctly carried out. I guess the failure resulted from these warnings. Could you tell me something about it? And how do I do resolve the problem? Thank you very much.

Best, Braket
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
interchanging face information with cell information/ radiation flux UDF ximik FLUENT 1 May 4, 2011 16:34
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
Intel compiler for linux x86 marcus Siemens 1 November 9, 2006 16:43
Fluent 6.2 and gcc compiler in Sun Blade 2500 Nitu Gupta FLUENT 8 April 29, 2005 13:58
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 10:05.