Compilation fails on Debian jessie

Issue #261 closed
jsbien created an issue

I use stretch, so it's not critical for me, I'm just curious.

indexwidget.cpp:117:8: error: ‘result’ does not name a type
   auto result = MessageDialog::yesNoCancel(tr("The index was modified. Do you want to save it?"));
        ^
indexwidget.cpp:118:7: error: ‘result’ was not declared in this scope
   if (result == QMessageBox::Cancel)

Comments (4)

  1. Michał Rudolf repo owner
    • changed status to open

    I used C++11 construct, but probably forgot to enable C++11 switch in the project file. I suppose newer compilers have it enabled by default, so it works there anyway.

  2. Log in to comment