#19 Fails to compile with clang

closed-fixed
Davis
5
2011-02-04
2011-02-04
Nils Labugt
No

I get errors when trying to compile version 17.34 with clang r124820. I don't know if this is a bug in the compiler or in dlib. Output attached.

Discussion

  • Nils Labugt

    Nils Labugt - 2011-02-04

    clang output

     
  • Davis

    Davis - 2011-02-04

    Does qualifying those function calls by putting this-> in front of them fix the problem?

     
  • Davis

    Davis - 2011-02-04

    I installed clang and am fixing these compiler errors. I'll update in a bit with the fixes.

     
  • Davis

    Davis - 2011-02-04

    I got the example programs and unit test to compile in clang and the updated code is checked into subversion. I also updated the snapshot at http://dlib.net/daily/

    Let me know if it works for you.

     
  • Davis

    Davis - 2011-02-04
    • status: open --> pending-fixed
     
  • Nils Labugt

    Nils Labugt - 2011-02-04

    Yes, my project compiles in clang now. Thanks!

     
  • Davis

    Davis - 2011-02-04
    • status: pending-fixed --> closed-fixed
     
  • Davis

    Davis - 2011-02-04

    No problem :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks