aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/compiler.h
Commit message (Collapse)AuthorAgeFilesLines
* Add annotation so GCC/Clang/MSVC know it is an allocation function.Jack Lloyd2017-09-301-0/+11
|
* Clean up header includesJack Lloyd2017-09-211-0/+4
| | | | | | | Avoid including build.h or assert.h directly, instead always take them though types.h Avoid math.h in favor of cmath
* Improve support for IBM XLCJack Lloyd2017-09-211-1/+1
| | | | | A uint128 type is available but is apparently broken, causes problems with x25519
* Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
| | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Move the annotations to compiler.h since the user shouldn't modifyJack Lloyd2017-09-191-0/+23
|
* Avoid using GCC ivdep pragma in GCC 4.8 [ci skip]Jack Lloyd2017-08-281-1/+1
|
* Add BOTAN_ALIGNAS macro for MSVC 2013Jack Lloyd2017-04-271-0/+9
| | | | GH #1009
* Fix further compiler macro bug exposed by #921Jack Lloyd2017-03-191-1/+1
|
* BOTAN_TARGET_COMPILER_IS -> BOTAN_BUILD_COMPILER_ISDaniel Neus2017-03-151-1/+1
|
* Workaround for MSVC 2013Jack Lloyd2017-01-291-1/+9
|
* Avoid using target function attribute in Clang before 3.8Jack Lloyd2017-01-031-1/+1
| | | | | | | | | | We support 3.5 or higher generally, but only Clang 3.8 has the function attributes. This doesn't affect the build with older Clang because the makefile still sets file-wide ISA flags. GCC supports this attribute in all versions we support. Fixes GH #797
* Add compiler.h macro header extracted from build.hJack Lloyd2016-11-261-0/+169
All this is just standard C that the user should not touch, so it doesn't really make sense to have it in the build.h template file. Remove BOTAN_TARGET_CPU_HAS_KNOWN_ENDIANESS - only used twice (in loadstor.h) and that code is clearer without it.