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

Errors when compiling libmame #3

Open
ghost opened this issue Mar 19, 2020 · 0 comments
Open

Errors when compiling libmame #3

ghost opened this issue Mar 19, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 19, 2020

I have some errors while compiling libmame:

Compiling src/version.c...
src/version.c:41:30: error: C++11 requires a space between string literal and macro [-Werror=c++11-compat]
   41 | const char build_version[] = "0.146 ("__DATE__")";
      |                              ^
cc1plus: all warnings being treated as errors
make: *** [makefile:870: obj/posix64/version.o] Error 1


Compiling src/lib/util/aviio.c...
src/lib/util/aviio.c: In function ‘avi_error read_movie_data(avi_file*)’:
src/lib/util/aviio.c:1262:2: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
 1262 |  if (avierr != AVIERR_NONE)
      |  ^~
src/lib/util/aviio.c:1266:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1266 |   avierr = find_first_chunk(file, CHUNKTYPE_AVIH, &hdrl, &avih);
      |   ^~~~~~
cc1plus: all warnings being treated as errors
make: *** [makefile:870: obj/posix64/lib/util/aviio.o] Error 1
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

0 participants