Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem with goto.... [13%] Building CXX object CMakeFiles/vermilion.dir/lib/vdds.cpp.o #15

Open
MihaiGaidau opened this issue Feb 16, 2018 · 5 comments

Comments

@MihaiGaidau
Copy link

I run make, on Unix Makefile on Ubuntu,

I got this error:
lib/vdds.cpp:645:1: error: jump to label ‘done_close_file’ [-fpermissive]

How can I avoid it?, please help

@bclinthall
Copy link

bclinthall commented Mar 7, 2018

I'm having the same problem. @elmindreda fixed this in her/his fork here: https://github.com/elmindreda/examples. It's also pull request #5.

@D-K-E
Copy link

D-K-E commented Mar 9, 2019

I can also verify that elmindreda fix works on Ubuntu 16.04 with option "Unix Makefiles"

@jackson-elfers
Copy link

Same issue thanks!

@RYNEQ
Copy link

RYNEQ commented Sep 17, 2021

I have same problem in ubuntu 18.04
I tried cmake -DCMAKE_CXX_FLAGS=-fpermissive .. made that error disappear but now I get:

In file included from /home/ryn/Desktop/examples/lib/vermilion.cpp:1:0:
/home/ryn/Desktop/examples/include/vapp.h:18:21: error: field ‘m_appStartTime’ has incomplete type ‘timeval’
     struct timeval  m_appStartTime;
                     ^~~~~~~~~~~~~~
/home/ryn/Desktop/examples/include/vapp.h:18:12: note: forward declaration of ‘struct timeval’
     struct timeval  m_appStartTime;
            ^~~~~~~
/home/ryn/Desktop/examples/lib/vermilion.cpp: In member function ‘virtual void VermilionApplication::Initialize(const char*)’:
/home/ryn/Desktop/examples/lib/vermilion.cpp:42:5: error: ‘gettimeofday’ was not declared in this scope
     gettimeofday(&m_appStartTime, nullptr);
     ^~~~~~~~~~~~

Any solution?

@AstroWYH
Copy link

i have the same problem and i'm trying elmindreda's fork.

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

No branches or pull requests

6 participants