Minor tidying

This commit is contained in:
John Wellbelove 2020-05-12 15:25:35 +01:00
parent 638d6ac8e6
commit d8fcf01cae
7 changed files with 22 additions and 15 deletions

View File

@ -10,6 +10,6 @@
#define ETL_CALLBACK_TIMER_USE_ATOMIC_LOCK
#define ETL_NO_STL
#include "etl/profiles/auto.h"
//#include "etl/profiles/auto.h"
#endif

View File

@ -54,29 +54,29 @@ SOFTWARE.
// The ETL will use the STL, unless ETL_NO_STL is defined.
// With this macro we can use '#if ETL_USING_STL' instead of '#if !ETL_NO_STL' in the code.
#if defined(ETL_NO_STL)
#define ETL_USING_STL 0
#define ETL_NOT_USING_STL 1
#define ETL_USING_STL 0
#define ETL_NOT_USING_STL 1
#else
#define ETL_USING_STL 1
#define ETL_NOT_USING_STL 0
#define ETL_USING_STL 1
#define ETL_NOT_USING_STL 0
#endif
// Helper macros for ETL_STLPORT.
#if defined(ETL_STLPORT)
#define ETL_USING_STLPORT 1
#define ETL_NOT_USING_STLPORT 0
#define ETL_USING_STLPORT 1
#define ETL_NOT_USING_STLPORT 0
#else
#define ETL_USING_STLPORT 0
#define ETL_NOT_USING_STLPORT 1
#define ETL_USING_STLPORT 0
#define ETL_NOT_USING_STLPORT 1
#endif
// Helper macro for ETL_NO_64BIT_TYPES.
#if defined(ETL_NO_64BIT_TYPES)
#define ETL_USING_64BIT_TYPES 0
#define ETL_NOT_USING_64BIT_TYPES 1
#define ETL_USING_64BIT_TYPES 0
#define ETL_NOT_USING_64BIT_TYPES 1
#else
#define ETL_USING_64BIT_TYPES 1
#define ETL_NOT_USING_64BIT_TYPES 0
#define ETL_USING_64BIT_TYPES 1
#define ETL_NOT_USING_64BIT_TYPES 0
#endif
// Figure out things about the compiler, if haven't already done so in etl_profile.h

View File

@ -74,7 +74,7 @@ SOFTWARE.
#endif
// NAN not defined or Rowley CrossWorks
#if !defined(NAN) || defined(__CROSSWORKS_ARM)
#if !defined(NAN) || defined(__CROSSWORKS_ARM) || defined(ETL_COMPILER_ARM5)
#if !defined(ETL_NO_CPP_NAN_SUPPORT)
#define ETL_NO_CPP_NAN_SUPPORT
#endif

View File

@ -1284,6 +1284,9 @@ namespace etl
//*************************************************************************
/// Fix the internal pointers after a low level memory copy.
//*************************************************************************
#ifdef ETL_IVECTOR_REPAIR_ENABLE
virtual
#endif
void repair()
#ifdef ETL_IVECTOR_REPAIR_ENABLE
ETL_OVERRIDE

View File

@ -92,7 +92,7 @@ SOFTWARE.
//#define ETL_OPTIONAL_FORCE_CPP03
//#define ETL_LARGEST_TYPE_FORCE_CPP03
#if ETL_NOT_USING_STL
#if defined(ETL_NO_STL)
#define ETL_TIMER_SEMAPHORE_TYPE uint32_t
#endif

View File

@ -1650,6 +1650,7 @@
<ClCompile Include="..\test_xor_rotate_checksum.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\.circleci\config.yml" />
<None Include="..\..\etl.pspimage" />
<None Include="..\..\etl.xar" />
<None Include="..\..\include\etl\generators\generate.bat" />

View File

@ -1375,6 +1375,9 @@
<None Include="..\..\include\etl\generators\generate.bat">
<Filter>Resource Files\Generators</Filter>
</None>
<None Include="..\..\.circleci\config.yml">
<Filter>Resource Files\CI\CircleCI</Filter>
</None>
</ItemGroup>
<ItemGroup>
<Text Include="..\..\include\etl\file_error_numbers.txt">