diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-09-15 17:03:46 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-09-15 17:03:46 +0000 |
commit | 6fe452c83345271b9c64b88e9bf25a228edd7bbc (patch) | |
tree | 9dbcadf8f1a94b14bd8b3bef052173010b83c206 | |
parent | c975b0f3f20c1aabd5ea7791cfaf8e1b15839c13 (diff) | |
download | netpbm-mirror-6fe452c83345271b9c64b88e9bf25a228edd7bbc.tar.gz netpbm-mirror-6fe452c83345271b9c64b88e9bf25a228edd7bbc.tar.xz netpbm-mirror-6fe452c83345271b9c64b88e9bf25a228edd7bbc.zip |
extend comments about Clang, update HISTORY
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1735 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r-- | doc/HISTORY | 3 | ||||
-rw-r--r-- | pm_config.in.h | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index 3bc0aead..8cd96115 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -21,6 +21,9 @@ not yet BJH Release 10.60.00 Build: rename getline() in xpmtoppm.c to avoid collision with some libc. Always broken. + Build: Don't expect GCC facilities to exist when compiler is + Clang. (Note that Clang identifies itself as GCC). + 12.06.28 BJH Release 10.59.00 pamtogif: Make data blocks 255 bytes instead of 254. 255 is diff --git a/pm_config.in.h b/pm_config.in.h index f0d83e1e..3e2f781c 100644 --- a/pm_config.in.h +++ b/pm_config.in.h @@ -226,7 +226,7 @@ /* If the compiler is Clang, ignore reported __GNUC__ , __GNUC_MINOR__ - values. Treat it as a generic c compiler. Clang normally reports itself + values. Treat it as a generic C compiler. Clang normally reports itself as GCC, but does not necessarily offer all the features of GCC. For example, we know that Apple Mac OSX 10.8 ships with @@ -236,6 +236,11 @@ which masquerades as GCC 4.2.1, but it does not have SSE2 function __builtin_ia32_pcmpeqb128 . + On the other hand, research by Prophet of the Way in September 2012 + indicated that Clang 2.6-3.0 have the above function (and all Netpbm + compiled successfully with SSE exploitation), but 3.1 does not. He did + not find any mention in documentation of that change. + See below on compilers other than GCC that set __GNUC__: http://sourceforge.net/apps/mediawiki/predef/index.php?title=Compilers */ |