CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   compiler information (https://www.cfd-online.com/Forums/fluent/45185-compiler-information.html)

braket June 27, 2007 15:51

compiler information
 
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


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