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

Warning about struct/class thread_counters #1226

Closed
eschnett opened this issue Aug 19, 2014 · 1 comment
Closed

Warning about struct/class thread_counters #1226

eschnett opened this issue Aug 19, 2014 · 1 comment

Comments

@eschnett
Copy link
Contributor

I see the following warning when building HPX:

/project/projectdirs/m152/schnette/hopper/SIMFACTORY/hpx-master/src/hpx-master/hpx/components/papi/server/papi.hpp:155:16: warning: class 'thread_counters' was previously declared as a struct [-Wmismatched-tags]
        friend class thread_counters;
               ^
/project/projectdirs/m152/schnette/hopper/SIMFACTORY/hpx-master/src/hpx-master/hpx/components/papi/server/papi.hpp:72:12: note: previous use is here
    struct thread_counters
           ^
/project/projectdirs/m152/schnette/hopper/SIMFACTORY/hpx-master/src/hpx-master/hpx/components/papi/server/papi.hpp:155:16: note: did you mean struct here?
        friend class thread_counters;
               ^~~~~
               struct
@hkaiser
Copy link
Member

hkaiser commented Aug 19, 2014

This was fixed by 733a374

@hkaiser hkaiser closed this as completed Aug 19, 2014
@hkaiser hkaiser added this to the 0.9.9 milestone Aug 19, 2014
@hkaiser hkaiser self-assigned this Aug 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants