Add explicit casts to prevent GCC from issuing warnings in C++11 mode
Tweak setting of -std=c++0x command-line flag

- Use CMAKE_COMPILER_IS_GNUCXX instead of LINUX to detect GCC (OS != Compiler)
- Set CMAKE_CXX_FLAGS instead of using ADD_DEFINITION (the latter is
  intended for preprocessor definitions and also affects C code)
Remove generated file from git
Change string constant from char* to const char*
Generate header files in binary dir not source dir

The previous rules were fundamentally broken when building in a
different directory to the source, leading to configure-time errors
about missing files.
Remove .lib suffix from library name
Work around a GCC -W warning
Fix /* inside comment warnings
Make main return int (fixes GCC warning)
Fix unused variable warnings
Fix typo in comment
Pass -std=c++0x to Clang as well
Fix type mismatch that would prevent #include processing from working correctly
Merge pull request #15 from allenhux/master

Fixed cluCreateAlignedBuffer for architectures that require 4KB
Merge pull request #10 from bmerry/master

Fixes for compilation with GCC
undo change to cluGetDefaultParams(). Change helper clndrange* functions to have size_t parameters instead of internal cast from int to size_t