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

Build error with -Werror=cast-align on ia64 #32

Open
fghaas opened this issue May 28, 2012 · 4 comments
Open

Build error with -Werror=cast-align on ia64 #32

fghaas opened this issue May 28, 2012 · 4 comments

Comments

@fghaas
Copy link
Contributor

fghaas commented May 28, 2012

Debian still builds on ia64, among other platforms. On ia64, we're getting a cast-align warning that breaks the build as we're building with -Werror. The problem is evidently in the do_list and do_command functions in src/main.c.

Details here:
https://buildd.debian.org/status/fetch.php?pkg=booth&arch=ia64&ver=0.1.0-1&stamp=1338167781

@jjzhang
Copy link
Owner

jjzhang commented May 29, 2012

I'm also wondering if this warning indicates a real problem or not. If not, how about removing the -Werror ?;)

@fghaas
Copy link
Contributor Author

fghaas commented May 29, 2012

You're the developer, you tell me. Silencing a warning just by disabling it sounds like less than a great idea to me.

@fghaas
Copy link
Contributor Author

fghaas commented Jun 14, 2012

Building with -Wcast-align doesn't only break on ia64, but on a bunch of platforms:

https://buildd.debian.org/status/package.php?p=booth

I suggest to either fix those warnings, or (if safe to do so) disable the cast-align warnings.

@jjzhang
Copy link
Owner

jjzhang commented Jun 14, 2012

Disable cast-align warning should be safe, so fix it now.

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

2 participants