| From: | Chris Browne <cbbrowne(at)acm(dot)org> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Has anyone used CLANG yet? |
| Date: | 2009-12-09 21:23:05 |
| Message-ID: | 87iqcf4zba.fsf_-_@dba2.int.libertyrms.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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 on Linux et al. (And I suppose that the randomly
selected .sig is supremely apropos!)
configure blows up here at the following:
conftest.c:75:28: error: invalid token after top level declarator
extern unsigned int PASCAL accept (unsigned int, void *, void *);
I suspect there's something about PASCAL that's a problem, as clang is
nominally supposed to be a C compiler ;-).
I haven't looked deeper, so haven't the remotest idea how deep the issue
lies.
At any rate, I should poke at this further soon, but if it seems
interesting to others, well, CLANG is now an easy install on some number
of systems!
--
let name="cbbrowne" and tld="gmail.com" in name ^ "@" ^ tld;;
http://linuxdatabases.info/info/postgresql.html
"The problem with the cutting edge is that someone has to bleed."
-- Zalman Stern
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Greg Smith | 2009-12-09 21:59:01 | Re: Has anyone used CLANG yet? |
| Previous Message | Robert Haas | 2009-12-09 21:06:08 | Re: explain output infelicity in psql |