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 warnings #17

Open
wolfsage opened this issue Aug 23, 2022 · 1 comment
Open

Build warnings #17

wolfsage opened this issue Aug 23, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@wolfsage
Copy link

I don't know if you want to keep the build clean as you go or after. These are current warnings only seen without -DDEBUGGING:

class.c: In function ‘Perl_pp_methstart’:
class.c:200:13: warning: unused variable ‘max_fieldix’ [-Wunused-variable]
         U32 max_fieldix = (aux++)->uv;
             ^~~~~~~~~~~
class.c: In function ‘Perl_class_seal_stash’:
class.c:266:33: warning: unused parameter ‘stash’ [-Wunused-parameter]
 Perl_class_seal_stash(pTHX_ HV *stash)
                                 ^~~~~
class.c: In function ‘Perl_class_prepare_method_parse’:
class.c:286:15: warning: variable ‘padix’ set but not used [-Wunused-but-set-variable]
     PADOFFSET padix;

The seal_stash is silly but the other two are variables only used in debugging builds for sanity

@wolfsage wolfsage added the bug Something isn't working label Aug 23, 2022
@leonerd
Copy link
Owner

leonerd commented Sep 9, 2022

Not a lot that can be done about this but at least 157c58a will quiet it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants