Skip to content
Snippets Groups Projects
Commit f235b8a2 authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Merge tag 'YAT-1.21.1' into conan2

release 1.21.1
parents 3ee98f7e 21dc14ae
Branches
Tags
No related merge requests found
YAT history file YAT history file
1.21.1 (2024/04/16)
===================
Fixes
Starting with gcc 4.8 'atomic' type is defined in <atomic> header file
1.21.0 (2024/04/03) 1.21.0 (2024/04/03)
=================== ===================
......
...@@ -139,13 +139,18 @@ namespace yat ...@@ -139,13 +139,18 @@ namespace yat
#undef YAT_HAS_ATOMIC #undef YAT_HAS_ATOMIC
#if __GNUC__ >= 4 #if __GNUC__ >= 4
# if __GNUC__ == 4 # if __GNUC__ == 4
# if __GNUC_MINOR__ >= 4 # if __GNUC_MINOR__ >= 8
# define YAT_HAS_ATOMIC # define YAT_HAS_C11ATOMIC
# elif __GNUC_MINOR__ >= 4
# define YAT_HAS_CSTDATOMIC
# endif # endif
# else # else
# define YAT_HAS_ATOMIC # define YAT_HAS_C11ATOMIC
# endif # endif
#endif #endif
#if defined (YAT_HAS_C11ATOMIC) || defined (YAT_HAS_CSTDATOMIC)
# define YAT_HAS_ATOMIC
#endif
/** /**
......
...@@ -40,7 +40,11 @@ ...@@ -40,7 +40,11 @@
#ifndef _YAT_ATOMIC_H_ #ifndef _YAT_ATOMIC_H_
#define _YAT_ATOMIC_H_ #define _YAT_ATOMIC_H_
#ifdef YAT_HAS_ATOMIC #ifdef YAT_HAS_C11ATOMIC
#include <atomic>
#endif
#ifdef YAT_HAS_CSTDATOMIC
#include <cstdatomic> #include <cstdatomic>
#endif #endif
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</parent> </parent>
<groupId>fr.soleil.lib</groupId> <groupId>fr.soleil.lib</groupId>
<artifactId>YAT-${aol}-${library}-${mode}</artifactId> <artifactId>YAT-${aol}-${library}-${mode}</artifactId>
<version>1.21.0</version> <version>1.21.1</version>
<packaging>nar</packaging> <packaging>nar</packaging>
<name>YAT</name> <name>YAT</name>
<description>Yet Another Toolkit Library</description> <description>Yet Another Toolkit Library</description>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<groupId>fr.soleil.lib</groupId> <groupId>fr.soleil.lib</groupId>
<artifactId>YAT-amd64-Linux-gcc-${library}-${mode}</artifactId> <artifactId>YAT-amd64-Linux-gcc-${library}-${mode}</artifactId>
<version>1.21.0</version> <version>1.21.1</version>
<packaging>nar</packaging> <packaging>nar</packaging>
<name>YAT</name> <name>YAT</name>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<groupId>fr.soleil.lib</groupId> <groupId>fr.soleil.lib</groupId>
<artifactId>YAT-${aol}-shared-${mode}</artifactId> <artifactId>YAT-${aol}-shared-${mode}</artifactId>
<version>1.21.0</version> <version>1.21.1</version>
<packaging>nar</packaging> <packaging>nar</packaging>
<name>YAT</name> <name>YAT</name>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment