Menu

#145 Additional FreeBSD fixes

0.0.18
closed
nobody
freebsd (1)
5
2014-08-28
2014-02-20
No

Following #142 and #143, additional fixes required to build qucs on FreeBSD.

Patches: https://github.com/AMDmi3/qucs/compare/freebsd (remote: git://github.com/AMDmi3/qucs.git)

With this, qucs from master builds on FreeBSD 10 with gcc 4.6 and newer.

I couldn't compile it with clang though: http://people.freebsd.org/~amdmi3/qucs.clang.log

Discussion

  • Dmitry Marakasov

    On Windows, MinGW seems to handle things differently.

    It seems to me that it's just C macro interfering with C++. std::isinf is part of c++11 standard, so std::isinf must work. A macro, however, may get in its way by redefining isinf token with some garbage - in this case #undef isinf should help.

    About clang, I am not sure. Can you give us the version? On OSX clang++ is the default compiler, and the one I currently use.

    clang 3.3, libc++ from Jun 2013. I should try to build it on HEAD, which has clang 3.4 and recently imported libc++.

     
  • Dmitry Marakasov

    Note that github branch was rebased - I've missed that $prefix was added to both include AND library paths.

     
  • Guilherme

    Guilherme - 2014-05-14
    • status: open --> closed
     
  • Guilherme

    Guilherme - 2014-05-14

    Should be fixed on master.

     

Log in to post a comment.