Re: clang vs gcc linking problem

2012-02-27 Thread Artifex Maximus
On Sun, Feb 26, 2012 at 1:03 AM, Julian H. Stacey j...@berklix.com wrote: Artifex Maximus wrote: Hello! Absolutely not a flame war but would like to switch to clang in a project. Project uses ncurses. gcc works well but the executable fails when compiled other than -O0. Then I think I

Re: clang vs gcc linking problem

2012-02-25 Thread Julian H. Stacey
Artifex Maximus wrote: Hello! Absolutely not a flame war but would like to switch to clang in a project. Project uses ncurses. gcc works well but the executable fails when compiled other than -O0. Then I think I should change to clang which will becomes the default compiler in FreeBSD. With

clang vs gcc linking problem

2012-02-24 Thread Artifex Maximus
Hello! Absolutely not a flame war but would like to switch to clang in a project. Project uses ncurses. gcc works well but the executable fails when compiled other than -O0. Then I think I should change to clang which will becomes the default compiler in FreeBSD. With clang at linking time I got