|
[Sponsors] |
March 29, 2016, 23:41 |
UDF Error with udf_names.c
|
#1 |
New Member
Join Date: May 2014
Posts: 13
Rep Power: 12 |
Hi,
I'm quite new to udf. Please be nice if this question is too easy for most of you. I always get the following error message when I am trying to compile my udf on my Windows computer. Does anyone know what it means and how to solve this error? Thank you in advance. udf_names.c(15) : warning C4113: 'void (*)()' differs in parameter lists from 'void (*)(void)' |
|
March 30, 2016, 05:23 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
It is not your mistake. Fluent gives slightly wrong instructions to the compiler. The compiler can guess what Fluent really means, so it does not have any effect on your simulation.
You can safely ignore this warning. If you really don't want this warning text to be shown anymore: contact Ansys, and tell them to fix it. (I did not check yet if this is already fixed in Fluent 17.) But in general, it is very good of you to look at all the warnings/errors you get when you compile, and it is a wise goal to write your code so that you don't see any more warnings. If this is the only warning you see, you did a better job than the Fluent programmers. |
|
March 30, 2016, 19:56 |
|
#3 |
New Member
Join Date: May 2014
Posts: 13
Rep Power: 12 |
Thank you for your reply
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 01:53 |
Parallelize UDF? Which kind of UDF? | Lilly | FLUENT | 5 | March 25, 2014 03:05 |
Help! Delete the UDM codes in the UDF | Messi | Fluent UDF and Scheme Programming | 2 | January 28, 2014 10:01 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |