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

rror: declaration of Seconds OnlineReward::Seconds’ changes meaning of ‘Seconds’ [-fpermissive] #156

Open
wthslw001 opened this issue Dec 5, 2022 · 1 comment
Labels
bug Something isn't working CORE

Comments

@wthslw001
Copy link

wthslw001 commented Dec 5, 2022

Current Behaviour

1

In file included from /home/WOW/80/warhead-band/modules/mod-online-reward/src/OnlineReward.cpp:21:
/home/WOW/80/warhead-band/modules/mod-online-reward/src/OnlineReward.h:49:13: error: declaration of Seconds OnlineReward::Seconds’ changes meaning of ‘Seconds’ [-fpermissive]
49 | Seconds Seconds{ 0s };
| ^~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [modules/CMakeFiles/modules.dir/build.make:678: modules/CMakeFiles/modules.dir/mod-online-reward/src/OnlineReward.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1530: modules/CMakeFiles/modules.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Expected Blizzlike Behaviour

make

Source

No response

Steps to reproduce the problem

nothing

Extra Notes

No response

AC rev. hash/commit

nothing

Operating system

nothing

Custom changes or Modules

No response

@kuramajssken001
Copy link

自己改一下

@Winfidonarleyan Winfidonarleyan added bug Something isn't working CORE labels Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CORE
Projects
None yet
Development

No branches or pull requests

3 participants