We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 fails on CentOS 6 (at least x86_64) with CFLAGS=-O2 (gcc-4.4.7, glibc-2.12):
$ CFLAGS="-O2" make cc -O2 -Wall -Werror -D_GNU_SOURCE -g -c -o attach.o attach.c cc1: warnings being treated as errors attach.c: In function ‘steal_child_pty’: attach.c:443: error: dereferencing pointer ‘cm’ does break strict-aliasing rules attach.c:447: error: dereferencing pointer ‘cm’ does break strict-aliasing rules attach.c:445: error: dereferencing pointer ‘cm’ does break strict-aliasing rules attach.c:444: error: dereferencing pointer ‘cm’ does break strict-aliasing rules attach.c:442: note: initialized from here make: *** [attach.o] Error 1
The text was updated successfully, but these errors were encountered:
Build with -fstrict-aliasing
c1ebf16
fixes #68
No branches or pull requests
Build fails on CentOS 6 (at least x86_64) with CFLAGS=-O2 (gcc-4.4.7, glibc-2.12):
The text was updated successfully, but these errors were encountered: