Warning during the compilation of FEBio

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • guillaume
    Junior Member
    • Mar 2011
    • 7

    Warning during the compilation of FEBio

    Hi,

    During the compilation of Febio I have a lot of warning. All about the same thing :

    warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result

    Do I need to add a library to suppress this type of warning ? (my C is a bit rusty).

    Thank you in advance.

    Guillaume

    PS : more details about my system: Ubuntu 10.04 LTS, gcc 4.4.3
  • dsrawlins
    Developer
    • Dec 2008
    • 366

    #2
    Guillaume,

    I'm not getting these warnings. Could you attach your makefile and the output from the compilation so that I can see where these warnings are occurring?

    Thanks,

    Dave
    Department of Bioengineering, University of Utah
    Scientific Computing and Imaging institute, University of Utah

    Comment

    • guillaume
      Junior Member
      • Mar 2011
      • 7

      #3
      makefile and the output from the compilation

      Hi Dave,

      Thanks for the help.

      I didn't have the time to look at and understand in details the files you gave me about the compilation and to use the pardiso solver. Hence, for the moment, I use the makefile in the sources of Febio and I use the skyline solver.

      Here is my makefile and the output from the compilation.

      Thank you.

      Guillaume

      Comment

      • dsrawlins
        Developer
        • Dec 2008
        • 366

        #4
        Guillaume,

        There may be a flag to suppress these warnings, but they can safely be ignored.

        Cheers,

        Dave
        Department of Bioengineering, University of Utah
        Scientific Computing and Imaging institute, University of Utah

        Comment

        Working...
        X
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎