mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 08:55:37 +00:00
less warnings in third-party code
This commit is contained in:
parent
0ae0abc297
commit
b061e9093f
@ -28,7 +28,11 @@
|
||||
#include <iostream>
|
||||
#include <LatAnalyze/AsciiFile.hpp>
|
||||
#include "AsciiParser.hpp"
|
||||
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
#pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||
#pragma GCC diagnostic ignored "-Wsign-compare"
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
|
||||
|
@ -28,6 +28,10 @@
|
||||
#include <utility>
|
||||
#include <cstring>
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
#pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||
|
||||
using namespace std;
|
||||
using namespace Latan;
|
||||
|
||||
@ -40,7 +44,7 @@
|
||||
%}
|
||||
|
||||
%pure-parser
|
||||
%name-prefix="_Ascii_"
|
||||
%name-prefix "_Ascii_"
|
||||
%locations
|
||||
%defines
|
||||
%error-verbose
|
||||
|
@ -28,7 +28,11 @@
|
||||
#include <iostream>
|
||||
#include <LatAnalyze/MathInterpreter.hpp>
|
||||
#include "MathParser.hpp"
|
||||
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
#pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||
#pragma GCC diagnostic ignored "-Wsign-compare"
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
|
||||
|
@ -24,12 +24,16 @@
|
||||
#include <LatAnalyze/Global.hpp>
|
||||
#include <LatAnalyze/MathInterpreter.hpp>
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
#pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||
|
||||
using namespace std;
|
||||
using namespace Latan;
|
||||
%}
|
||||
|
||||
%pure-parser
|
||||
%name-prefix="_math_"
|
||||
%name-prefix "_math_"
|
||||
%locations
|
||||
%defines
|
||||
%error-verbose
|
||||
|
@ -19,6 +19,10 @@
|
||||
|
||||
#include <LatAnalyze/MinuitMinimizer.hpp>
|
||||
#include <LatAnalyze/includes.hpp>
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-register"
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
|
||||
#include <Minuit2/FCNBase.h>
|
||||
#include <Minuit2/FunctionMinimum.h>
|
||||
#include <Minuit2/MnMigrad.h>
|
||||
@ -30,6 +34,9 @@
|
||||
#include <Minuit2/SimplexMinimizer.h>
|
||||
#include <Minuit2/VariableMetricMinimizer.h>
|
||||
|
||||
#pragma GCC diagnostic warning "-Wdeprecated-register"
|
||||
#pragma GCC diagnostic warning "-Wconversion"
|
||||
|
||||
using namespace std;
|
||||
using namespace ROOT;
|
||||
using namespace Minuit2;
|
||||
|
Loading…
Reference in New Issue
Block a user