On Sat, Nov 14, 2020 at 09:28:53PM +0100, Andreas Tille wrote:
> Control: tags -1 pending
> Control: tags 922571 pending
> 
> Hi,
> 
> I have moved sigviewer to Debian Med team[1], fixed the other bug and
> tried to build the new upstream version 0.6.4 but failed:
> 
> ...
> g++ -c -pipe -g -O2 -fdebug-prefix-map=/build/sigviewer-0.6.4=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 -std=gnu++11 -D_REENTRANT -Wall -  Wextra -fPIC 
> -DVERSION_MAJOR=0 -DVERSION_MINOR=6 -DVERSION_BUILD=4 -DQT_NO_DEBUG_OUTPUT 
> -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. 
> -I/build/sigviewer-0.6.4/ external/include -Isrc 
> -I/usr/include/x86_64-linux-gnu/qt5 
> -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets 
> -I/usr/include/x86_64-linux-gnu/qt5/QtGui 
> -I/usr/include/x86_64-linux-gnu/qt5/      QtXml 
> -I/usr/include/x86_64-linux-gnu/qt5/QtCore -Itmp/release -Itmp/release 
> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o 
> tmp/release/undo_redo_gui_command.o src/gui_impl/commands/ 
> undo_redo_gui_command.cpp
> src/gui_impl/commands/open_file_gui_command.cpp: In member function 'void 
> sigviewer::OpenFileGuiCommand::importEvents()':
> src/gui_impl/commands/open_file_gui_command.cpp:200:23: error: redeclaration 
> of 'sigviewer::FileSignalReader* file_signal_reader'
>   200 |     FileSignalReader* file_signal_reader = 
> FileSignalReaderFactory::getInstance()->getHandler (file_path);
>       |                       ^~~~~~~~~~~~~~~~~~
> src/gui_impl/commands/open_file_gui_command.cpp:185:23: note: 
> 'sigviewer::FileSignalReader* file_signal_reader' previously declared here
>   185 |     FileSignalReader* file_signal_reader = 
> FileSignalReaderFactory::getInstance()->getHandler (file_path);
>       |                       ^~~~~~~~~~~~~~~~~~
> make[1]: *** [Makefile:2576: tmp/release/open_file_gui_command.o] Error 1
> 
> 
> Any help would be welcome

This is from 0002-add-support-for-reading-GDF-formated-event-file.patch,
which seems to be upstream now - and adding the same code twice is what
failed.

>        Andreas.

cu
Adrian

Reply via email to