Wireshark-dev: Re: [Wireshark-dev] Getting an error in code I did not touch ...
From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Mon, 20 May 2019 19:39:00 +0200
Clang builder with Extra warning is not happy too

simple_dialog.cpp:54:68: warning: extra ';' after member function definition [-Wextra-semi]
it will be fix on https://code.wireshark.org/review/33283



On Mon, May 20, 2019 at 7:08 PM Richard Sharpe <realrichardsharpe@xxxxxxxxx> wrote:
Hi folks,

I am getting the following error in code I did not touch (honest!)

-------------------
[ 80%] Building CXX object ui/qt/CMakeFiles/qtui.dir/simple_dialog.cpp.o
/home/rsharpe/src/wireshark-official/ui/qt/simple_dialog.cpp:54:68:
error: extra ‘;’ after in-class function definition
[-Werror=extra-semi]
     VisibleAsyncMessage(QMessageBox *box) : box(box), counter(0) {};
                                                                    ^
                                                                    -
cc1plus: all warnings being treated as errors
make[2]: *** [ui/qt/CMakeFiles/qtui.dir/build.make:1641:
ui/qt/CMakeFiles/qtui.dir/simple_dialog.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:12629: ui/qt/CMakeFiles/qtui.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---------------------

I am using Fedora 29 for this.

Any suggestions?

--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe