trying to compile 4, but It's currently failing
Code:
-I. -I. -I../../Qt5.6.0/5.6/gcc_64/mkspecs/linux-g++ -o flash_routine.o flash_routine.cpp
In file included from datastream.h:7:0,
from mainwindow.h:12,
from flash_routine.cpp:3:
config.h:35:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable: 4100)
^
flash_routine.cpp: In member function ‘void mainWindow::writeflash()’:
flash_routine.cpp:343:3: error: jump to label ‘FLASH_WRITE_CLEANUP’ [-fpermissive]
FLASH_WRITE_CLEANUP:
^
flash_routine.cpp:84:12: note: from here
goto FLASH_WRITE_CLEANUP;
^
flash_routine.cpp:94:7: note: crosses initialization of ‘int write_post_delay’
int write_post_delay = 70;
^
flash_routine.cpp:91:8: note: crosses initialization of ‘bool enable_compression’
bool enable_compression = ui->flash_compress->isChecked();
^
flash_routine.cpp:343:3: error: jump to label ‘FLASH_WRITE_CLEANUP’ [-fpermissive]
FLASH_WRITE_CLEANUP:
^
flash_routine.cpp:66:10: note: from here
goto FLASH_WRITE_CLEANUP;
^
flash_routine.cpp:94:7: note: crosses initialization of ‘int write_post_delay’
int write_post_delay = 70;
^
flash_routine.cpp:91:8: note: crosses initialization of ‘bool enable_compression’
bool enable_compression = ui->flash_compress->isChecked();
^
flash_routine.cpp: In member function ‘void mainWindow::readflash()’:
flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
FLASH_READ_CLEANUP:
^
flash_routine.cpp:439:10: note: from here
goto FLASH_READ_CLEANUP;
^
flash_routine.cpp:451:7: note: crosses initialization of ‘int read_floor’
int read_floor = 0x0D80;
^
flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
FLASH_READ_CLEANUP:
^
flash_routine.cpp:435:10: note: from here
goto FLASH_READ_CLEANUP;
^
flash_routine.cpp:451:7: note: crosses initialization of ‘int read_floor’
int read_floor = 0x0D80;
^
flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
FLASH_READ_CLEANUP:
^
flash_routine.cpp:426:10: note: from here
goto FLASH_READ_CLEANUP;
^
flash_routine.cpp:451:7: note: crosses initialization of ‘int read_floor’
int read_floor = 0x0D80;
^
flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
FLASH_READ_CLEANUP:
^
flash_routine.cpp:422:10: note: from here
goto FLASH_READ_CLEANUP;
^
flash_routine.cpp:451:7: note: crosses initialization of ‘int read_floor’
int read_floor = 0x0D80;
^
flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
FLASH_READ_CLEANUP:
^
flash_routine.cpp:417:10: note: from here
goto FLASH_READ_CLEANUP;
^
flash_routine.cpp:451:7: note: crosses initialization of ‘int read_floor’
int read_floor = 0x0D80;
^
flash_routine.cpp:501:3: error: jump to label ‘FLASH_READ_CLEANUP’ [-fpermissive]
FLASH_READ_CLEANUP:
^
flash_routine.cpp:409:10: note: from here
goto FLASH_READ_CLEANUP;
^
flash_routine.cpp:451:7: note: crosses initialization of ‘int read_floor’
int read_floor = 0x0D80;
^
flash_routine.cpp:520:3: error: jump to label ‘FLASH_READ_CLEANUP_NO_RST’ [-fpermissive]
FLASH_READ_CLEANUP_NO_RST:
^
flash_routine.cpp:406:10: note: from here
goto FLASH_READ_CLEANUP_NO_RST;
^
flash_routine.cpp:451:7: note: crosses initialization of ‘int read_floor’
int read_floor = 0x0D80;
^
flash_routine.cpp:520:3: error: jump to label ‘FLASH_READ_CLEANUP_NO_RST’ [-fpermissive]
FLASH_READ_CLEANUP_NO_RST:
^
flash_routine.cpp:402:10: note: from here
goto FLASH_READ_CLEANUP_NO_RST;
^
flash_routine.cpp:451:7: note: crosses initialization of ‘int read_floor’
int read_floor = 0x0D80;
^
flash_routine.cpp:520:3: error: jump to label ‘FLASH_READ_CLEANUP_NO_RST’ [-fpermissive]
FLASH_READ_CLEANUP_NO_RST:
^
flash_routine.cpp:393:12: note: from here
goto FLASH_READ_CLEANUP_NO_RST;
^
flash_routine.cpp:451:7: note: crosses initialization of ‘int read_floor’
int read_floor = 0x0D80;
^
Makefile:10022: recipe for target 'flash_routine.o' failed
make: *** [flash_routine.o] Error 1
brian@linux-w1cw:~/Downloads/eehack-master>
I get the same error compiling 4 with both qt5.5 and 5.6
Bookmarks