Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2857e8a7 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

Fix missing void in fabulous_last_error_str() and fabulous_g_last_error_str() prototypes

parent d52e4e20
Branches develop
Tags v1.1.4
No related merge requests found
Pipeline #998275 passed
......@@ -7,7 +7,7 @@
#
# @brief Script to generate the release when pushing a branch and tag of the same name
#
# @version 1.1.3
# @version 1.1.4
# @author Florent Pruvost
# @author Mathieu Faverge
# @author Matthieu Simonin (minor)
......
......@@ -3,7 +3,7 @@
# luc.giraud@inria.fr
cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
project(fabulous VERSION 1.1.3 LANGUAGES C CXX Fortran)
project(fabulous VERSION 1.1.4 LANGUAGES C CXX Fortran)
# to be able to use "PACKAGE"_ROOT env. var.
cmake_policy(SET CMP0074 NEW)
......
fabulous-1.1.4
------------------------------------------------------------------------
- hotfix: missing void in fabulous_last_error_str() and fabulous_g_last_error_str() prototypes
- cmake: update morse_cmake submodule
fabulous-1.1.3
------------------------------------------------------------------------
- Hotfix: add missing include <limits> to be able to use std::numeric_limits
......
......@@ -40,8 +40,8 @@ Then, in order to link your code to =Fabulous= use the corresponding =cmake= tar
The latest release on [[https://gitlab.inria.fr/solverstack/fabulous/-/releases]] , for example
#+begin_src shell
wget https://gitlab.inria.fr/api/v4/projects/2083/packages/generic/source/v1.1.3/fabulous-1.1.3.tar.gz
tar xvf fabulous-1.1.3.tar.gz
wget https://gitlab.inria.fr/api/v4/projects/2083/packages/generic/source/v1.1.4/fabulous-1.1.4.tar.gz
tar xvf fabulous-1.1.4.tar.gz
#+end_src
or by cloning the depot
......
......@@ -36,7 +36,7 @@
#+ATTR_HTML: :alt Table of download materials image :title Table of download materials :align center
| Git | Release source | Debian/Ubuntu | [[https://brew.sh/][Brew]] (Mac) | [[https://guix.gnu.org/en/][Guix]] (Linux) | [[https://spack.readthedocs.io/en/latest/][Spack]] (Linux/Mac) |
|----------+----------------+---------------+------------+--------------+-------------------|
| [[https://gitlab.inria.fr/solverstack/fabulous][fabulous]] | [[https://gitlab.inria.fr/api/v4/projects/2083/packages/generic/source/v1.1.3/fabulous-1.1.3.tar.gz][1.1.3]] | [[https://gitlab.inria.fr/solverstack/fabulous/-/packages][packages]] | [[https://gitlab.inria.fr/solverstack/brew-repo][brew-repo]] | [[https://gitlab.inria.fr/guix-hpc/guix-hpc][guix-repo]] | [[https://github.com/spack/spack][spack]] |
| [[https://gitlab.inria.fr/solverstack/fabulous][fabulous]] | [[https://gitlab.inria.fr/api/v4/projects/2083/packages/generic/source/v1.1.4/fabulous-1.1.4.tar.gz][1.1.4]] | [[https://gitlab.inria.fr/solverstack/fabulous/-/packages][packages]] | [[https://gitlab.inria.fr/solverstack/brew-repo][brew-repo]] | [[https://gitlab.inria.fr/guix-hpc/guix-hpc][guix-repo]] | [[https://github.com/spack/spack][spack]] |
=fabulous= is also distributed within the [[https://gitlab.inria.fr/solverstack/maphys/maphys][maphys]] (deprecated) and [[https://gitlab.inria.fr/solverstack/maphys/maphyspp][maphys++]]
(recommended) packages.
......
......@@ -83,7 +83,7 @@ fabulous_handle fabulous_create(
}while(0)
FABULOUS_EXPORT
const char *fabulous_last_error_str()
const char *fabulous_last_error_str(void)
{
static thread_local ::std::string s_errmsg;
s_errmsg = s_last_errmsg;
......
......@@ -78,7 +78,7 @@ fabulous_g_handle fabulous_g_create(fabulous_g_arithmetic ari, void *user_env)
}while(0)
FABULOUS_EXPORT
const char *fabulous_g_last_error_str()
const char *fabulous_g_last_error_str(void)
{
static thread_local ::std::string s_errmsg;
s_errmsg = s_last_errmsg;
......
......@@ -662,7 +662,7 @@ int fabulous_print_log_filename(const char *filename, const char *log_id, fabulo
* The returned string must not be modified by the user but it may be modified by
* subsequent call to fabulous_last_error_str()
*/
const char *fabulous_last_error_str();
const char *fabulous_last_error_str(void);
/**
* \brief get the error number type description as a string
......
......@@ -560,7 +560,7 @@ int fabulous_g_print_log_filename(const char *filename, const char *log_id, fabu
* The returned string must not be modified by the user but it may be modified by
* subsequent call to fabulous_g_last_error_str()
*/
const char *fabulous_g_last_error_str();
const char *fabulous_g_last_error_str(void);
/**
* \brief get the error number type description as a string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment