Commit 1602595f authored by Armand Leclercq's avatar Armand Leclercq Committed by Roland Levillain
Browse files

Suppress user warnings from the use of mln_VAR with g++ 4.8.1


Signed-off-by: Roland Levillain's avatarRoland Levillain <roland@lrde.epita.fr>
parent a65dcf8c
2013-10-15 Armand Leclercq <marman.email@gmail.com>
Suppress user warnings from the use of mln_VAR with g++ 4.8.1.
* mln/core/var.hh (mln_VAR, mln_const_VAR): Here.
2013-10-09 Roland Levillain <roland@lrde.epita.fr>
 
Milena: Add a ``one-liner'' test to interpolated-tr_image.
// Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2008, 2009, 2013 EPITA Research and Development
// Laboratory (LRDE).
//
// This file is part of Olena.
//
......@@ -40,13 +41,13 @@
/// result to it.
#define mln_VAR(Var, Expr) \
\
typeof(Expr) Var = Expr; \
typedef typeof(Expr) Var##_t
typedef typeof(Expr) Var##_t; \
Var##_t Var = Expr
#define mln_const_VAR(Var, Expr) \
\
const typeof(Expr) Var = Expr; \
typedef const typeof(Expr) Var##_t
typedef const typeof(Expr) Var##_t; \
Var##_t Var = Expr
// mln_PITER
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment