typo, adding -fpermissive to CXXFLAGS not CFLAGS cures the c++ errors

Alex wrote:
> Seems gcc4.4 is a little strict.
>
> /usr/lib/libstdc++.so.6  exists in both /usr/lib and 
> /usr/local/lib/gcc-4.4.0
>
> However in LD_LIBRARY_PATH /usr/lib takes precedence
>
> Adding /usr/local/lib/gcc-4.4.0 before /usr/lib seems to cure the error 
> below:
>
> /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 
> required by ./cmake_bootstrap_57544.test not found
>
> other errors that are encountered during compilation with gcc4.4 can be 
> silenced by adding -fpermissive to cflags
>
> I have resolved this issue.
>
> What a royal pain in the backside though.
>
> Alex wrote:
>   

_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to