Skip to content

Conversation

@bellenot
Copy link
Member

@bellenot bellenot commented Jan 24, 2019

This fixes the following failure of the test-stresshistofit-interpreted test:

151: Processing C:/Users/sftnight/git/master/test/stressHistoFit.cxx...
151: In file included from input_line_10:1:
151: C:\Users\sftnight\git\master\test\stressHistoFit.cxx:117:9: warning: 'FOREGROUND_BLUE' macro redefined [-Wmacro-redefined]
151: #define FOREGROUND_BLUE 1
151: ^
151: C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\consoleapi2.h:35:9: note: previous definition is here
151: #define FOREGROUND_BLUE 0x0001 // text color contains blue.
151: ^
151: In file included from input_line_10:1:
151: C:\Users\sftnight\git\master\test\stressHistoFit.cxx:118:9: warning: 'FOREGROUND_GREEN' macro redefined [-Wmacro-redefined]
151: #define FOREGROUND_GREEN 2
151: ^
151: C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\consoleapi2.h:36:9: note: previous definition is here
151: #define FOREGROUND_GREEN 0x0002 // text color contains green.
151: ^
151: In file included from input_line_10:1:
151: C:\Users\sftnight\git\master\test\stressHistoFit.cxx:119:9: warning: 'FOREGROUND_RED' macro redefined [-Wmacro-redefined]
151: #define FOREGROUND_RED 4
151: ^
151: C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\consoleapi2.h:37:9: note: previous definition is here
151: #define FOREGROUND_RED 0x0004 // text color contains red.
151: ^
151: In file included from input_line_10:1:
151: C:\Users\sftnight\git\master\test\stressHistoFit.cxx:120:9: warning: 'FOREGROUND_INTENSITY' macro redefined [-Wmacro-redefined]
151: #define FOREGROUND_INTENSITY 8
151: ^
151: C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\consoleapi2.h:38:9: note: previous definition is here
151: #define FOREGROUND_INTENSITY 0x0008 // text color is intensified.
151: ^
151: In file included from input_line_10:1:
151: C:\Users\sftnight\git\master\test\stressHistoFit.cxx:124:19: error: functions that differ only in their return type cannot be overloaded
151: bool __stdcall SetConsoleTextAttribute(void *, unsigned int);
151: ^
151: C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\consoleapi2.h:245:1: note: previous declaration is here
151: SetConsoleTextAttribute(
151: ^
151: Error in TInterpreter::AutoParse: Error parsing payload code for class TUnuranContDist with content:
151:
151: #line 1 "libUnuran dictionary payload"
151:
151: #ifndef HAVE_CONFIG_H
151: #define HAVE_CONFIG_H 1
151: #endif
151:
151: #define _BACKWARD_BACKWARD_WARNING_H
151: #include "TUnuran.h"
151: #include "TUnuranBaseDist.h"
151: #include "TUnuranContDist.h"
151: #include "TUnuranDiscrDist.h"
151: #include "TUnuranEmpDist.h"
151: #include "TUnuranMultiContDist.h"
151: #include "TUnuranSampler.h"
151:
151: #undef _BACKWARD_BACKWARD_WARNING_H
151:
151: Error in TInterpreter::AutoParse: Error parsing payload code for class TUnuranDiscrDist with content:
151:
151: #line 1 "libUnuran dictionary payload"
151:
151: #ifndef HAVE_CONFIG_H
151: #define HAVE_CONFIG_H 1
151: #endif
151:
151: #define _BACKWARD_BACKWARD_WARNING_H
151: #include "TUnuran.h"
151: #include "TUnuranBaseDist.h"
151: #include "TUnuranContDist.h"
151: #include "TUnuranDiscrDist.h"
151: #include "TUnuranEmpDist.h"
151: #include "TUnuranMultiContDist.h"
151: #include "TUnuranSampler.h"
151:
151: #undef _BACKWARD_BACKWARD_WARNING_H
151:
151: Error in TInterpreter::AutoParse: Error parsing payload code for class TUnuranEmpDist with content:
151:
151: #line 1 "libUnuran dictionary payload"
151:
151: #ifndef HAVE_CONFIG_H
151: #define HAVE_CONFIG_H 1
151: #endif
151:
151: #define _BACKWARD_BACKWARD_WARNING_H
151: #include "TUnuran.h"
151: #include "TUnuranBaseDist.h"
151: #include "TUnuranContDist.h"
151: #include "TUnuranDiscrDist.h"
151: #include "TUnuranEmpDist.h"
151: #include "TUnuranMultiContDist.h"
151: #include "TUnuranSampler.h"
151:
151: #undef _BACKWARD_BACKWARD_WARNING_H
151:
151: CMake Error at C:/Users/sftnight/git/master/cmake/modules/RootTestDriver.cmake:232 (message):
151: error code: 1
151:
151:
2/2 Test #151: test-stresshistofit-interpreted ...***Failed Error regular expression found in output. Regex=[FAILED|Error in] 10.55 sec

@phsft-bot
Copy link

Starting build on ROOT-performance-centos7-multicore/default, ROOT-fedora27/noimt, ROOT-fedora29/python3, ROOT-ubuntu16/rtcxxmod, mac1014/cxx17, windows10/default
How to customize builds

@bellenot bellenot self-assigned this Jan 24, 2019
Copy link
Member

@Axel-Naumann Axel-Naumann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add the error message we get to the commit log?

@bellenot
Copy link
Member Author

bellenot commented Jan 25, 2019

Could you add the error message we get to the commit log?

@Axel-Naumann Done

@bellenot bellenot merged commit 37c030d into root-project:master Jan 28, 2019
@bellenot bellenot deleted the fix-stressHistoFit branch April 25, 2019 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants