SourceForge has been redesigned. Learn more.

#145 Additional FreeBSD fixes

freebsd (1)

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

Patches: (remote: git://

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

I couldn't compile it with clang though:


  • 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.