Re: [HACKERS] Has anyone used CLANG yet?

2009-12-10 Thread Chris Browne
age...@themactionfaction.com (A.M.) writes: [Much of interest elided... Cool to see that clang clearly *can* compile PostgreSQL...] You are probably running configure with gcc, no? I was *attempting* to run configure using clang: CC=/usr/bin/clang ./configure

Re: [HACKERS] Has anyone used CLANG yet?

2009-12-10 Thread Peter Eisentraut
On ons, 2009-12-09 at 16:23 -0500, Chris Browne wrote: This is a C front end for the LLVM compiler... I noticed that it entered Debian/Unstable today: http://packages.debian.org/sid/main/clang I thought it would be interesting to see if PostgreSQL compiles with this, as an alternative

[HACKERS] Has anyone used CLANG yet?

2009-12-09 Thread Chris Browne
This is a C front end for the LLVM compiler... I noticed that it entered Debian/Unstable today: http://packages.debian.org/sid/main/clang I thought it would be interesting to see if PostgreSQL compiles with this, as an alternative compiler that should presumably become more and more available

Re: [HACKERS] Has anyone used CLANG yet?

2009-12-09 Thread Greg Smith
Chris Browne wrote: I suspect there's something about PASCAL that's a problem, as clang is nominally supposed to be a C compiler ;-). Pascal refers to a way of different way of pushing things onto the stack when calling things; there's Pascal order and c order when you call a function,

Re: [HACKERS] Has anyone used CLANG yet?

2009-12-09 Thread A.M.
On Dec 9, 2009, at 4:23 PM, Chris Browne wrote: This is a C front end for the LLVM compiler... I noticed that it entered Debian/Unstable today: http://packages.debian.org/sid/main/clang I thought it would be interesting to see if PostgreSQL compiles with this, as an alternative