Skip to content

Conversation

@speidy
Copy link

@speidy speidy commented Sep 5, 2022

This makes gcc 11.2.0 on Ubuntu 22.04 to fail the build as a result of
multiple definitions of this variable.
We now define it once in unsquashfs.c and extern it in error.h header file.

This makes gcc 11.2.0 on Ubuntu 22.04 to fail the build as a result of
multiple definitions of this variable.
We now define it once in unsquashfs.c and extern it in error.h header file.
@@ -38724,3 +38728,2821 @@ diff --strip-trailing-cr -NBbaur squashfs-tools/unsquashfs.c squashfs-tools-patc
ERROR("\nDecompressors available:\n");
display_compressors("", "");
}
diff --color --strip-trailing-cr -NBbaur squashfs-tools/unsquashfs.c.orig squashfs-tools-patched/unsquashfs.c.orig
Copy link

@TannerFilip TannerFilip Dec 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing this isn't all supposed to be here? Otherwise this worked fine for me.

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

Successfully merging this pull request may close these issues.

2 participants