On Sun, 30 May 2010, Viktor Szakáts wrote:

hi,

 > Thanks for the patch. We already had "LLVM/Clang C" 
 > detection inside the __GNUC__ branch, is it still 
 > necessary, or can we now safely delete it?

the current one is for clang1 (no clang_major  and friends, but 
defines gnuc and llvm), while the new snippet is for clang2 (which has 
clang_major and friends -- it still defines gnuc and the shebang, but 
i don't think i belongs in that branch.

maybe it could be turned around a bit so that all the llvm/clang 
things are moved out of the gnuc block, but at the same time it fits 
the way mingw/rsx*/etc are handled now.

i'd say leave it like this, and maybe do some shuffling several clang 
and/or llvm versions in the future, when things come to light. right 
now the question basiclaly is: can you get clang without llvm? can 
you get llvm without clang? i don't really know the answer to these, 
and that's what's needed to decide whether or not (and how) to move it 
out into it's own block.

-- 
[-]

mkdir /nonexistent
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to