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

Mark valgrind's _qzz_res as unused to silence warnings on gcc 4.6. #350

Closed
wants to merge 1 commit into from
Closed

Conversation

rillian
Copy link
Contributor

@rillian rillian commented May 5, 2011

This applies c11675 by Julian Seward from valgrind trunk
(svn://svn.valgrind.org/valgrind/trunk) to rustrt's included
copies of memcheck.h and valgrind.h, effectively backporting
the fix from the unreleased 3.6.2. The commit simply applies
the gcc 'unused' attribute to the relevant declarations.

This change allows compilation of the runtime code under
gcc 4.6 with -Werror, as the makefile currently requests.

This applies c11675 by Julian Seward from valgrind trunk
(svn://svn.valgrind.org/valgrind/trunk) to rustrt's included
copies of memcheck.h and valgrind.h, effectively backporting
the fix from the unreleased 3.6.2. The commit simply applies
the gcc 'unused' attribute to the relevant declarations.

This change allows compilation of the runtime code under
gcc 4.6 with -Werror, as the makefile currently requests.
@graydon
Copy link
Contributor

graydon commented May 5, 2011

Integrated.

@graydon graydon closed this May 5, 2011
oli-obk pushed a commit to oli-obk/rust that referenced this pull request Sep 29, 2017
get rid of ad-hoc inhabitedness test
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
dlrobertson pushed a commit to dlrobertson/rust that referenced this pull request Nov 29, 2018
Attributes in generics position and general attributes improvements
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this pull request Mar 7, 2023
workingjubilee pushed a commit to workingjubilee/rustc that referenced this pull request Jul 7, 2023
Remove cast_ptr in favor of cast which acts like pointer::cast (and adjust integer casts)
antoyo added a commit to antoyo/rust that referenced this pull request Oct 9, 2023
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