Commit Graph

11 Commits

Author SHA1 Message Date
Shantonu Sen 35684d034e Keep on castin', in the name of -pedantic
llvm-svn: 82626
2009-09-23 15:34:09 +00:00
Edward O'Callaghan 9a9c26eba6 We don't need a C++ compiler to build Blocks, Don't check for one.
llvm-svn: 82606
2009-09-23 03:53:48 +00:00
Edward O'Callaghan dd54ab207b Fix compile time warning: format '%#lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
llvm-svn: 82605
2009-09-23 03:47:24 +00:00
Edward O'Callaghan 351a54e86f Improve readability.
llvm-svn: 82604
2009-09-23 03:42:03 +00:00
Shantonu Sen 33f6acbbf1 1) Remove cmake-specific #define usage from the exported
Block.h/Block_private.h headers, since clients won't know what to
set. These are moved into runtime.c as appropriate

2) Use cmake checks for CAS builtins, instead of guessing based on GCC
#defines (which aren't set by clang and llvm-gcc anyway)

3) "#pragma mark" isn't supported by FSF gcc, so "#if 0" it out. It
should still show up in IDEs that support it

4) Fix some compiler warnings. GCC 4.3.3 seems super strict about
%p. function pointers can't be cast to void * either.

5) Avoid a warning for apple_versioning.c that "ISO C does not allow
empty files"

llvm-svn: 82504
2009-09-22 00:49:12 +00:00
Edward O'Callaghan 957fa1379c GCC atomic built-ins are available patch to Blocks. - Credit to Bobby Powers.
llvm-svn: 81615
2009-09-12 16:29:10 +00:00
Edward O'Callaghan 882b798a50 Generalize Blocks code and intergrate with cmake build system more.
llvm-svn: 81613
2009-09-12 15:47:39 +00:00
Edward O'Callaghan 7a6cb5febf Refactor test suit endianness pre-processor code. More style and readability fixes, start labling endif's
llvm-svn: 78234
2009-08-05 19:57:20 +00:00
Edward O'Callaghan 6912ed0f36 Initial import of CMake type build system. Just like the rest of llvm..
llvm-svn: 77933
2009-08-03 01:08:25 +00:00
Daniel Dunbar fd089990f7 Initial import of compiler-rt.
-

llvm-svn: 74292
2009-06-26 16:47:03 +00:00
Blaine Garst cc08af1f0c initial version of the blocks runtime
llvm-svn: 73172
2009-06-10 18:41:48 +00:00