Has anyone used CLANG yet?
От | Chris Browne |
---|---|
Тема | Has anyone used CLANG yet? |
Дата | |
Msg-id | 87iqcf4zba.fsf_-_@dba2.int.libertyrms.com обсуждение исходный текст |
Ответы |
Re: Has anyone used CLANG yet?
Re: Has anyone used CLANG yet? Re: Has anyone used CLANG yet? |
Список | 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
В списке pgsql-hackers по дате отправления: