Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

UDF warnings

TAGGED: ,

    • ata7333
      Subscriber

      While running UDF - I am getting warnings that fopen, fscanf are deprecated and use fopen_s, f_scanf_s_l for safety, I am unable to find documentation for same. 

      SOme of the warnings like - '_vsprintf_l' is deprecated: This function or variable may be unsafe. Consider using _vsprintf_s_l instead. the same is not used in the code anywhere, can anyone help me out to figure out how to sort this  along with documentation link for above ? 

      Thanks in advance

    • B D
      Ansys Employee

      Hello,

      Details on the I/O functions can be found here: A.13.3. Standard I/O Functions A.13. C Library Functions

      Have you tried compiling using in-built clang compiler?

    • ata7333
      Subscriber

      Hi, 

      Can you guide me on using/knowing the clang compiler ? That would be most helpful.

      • B D
        Ansys Employee

        You just need to check the option while compiling:

Viewing 2 reply threads
  • You must be logged in to reply to this topic.