Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 4 years ago

Language

C++

Compiler

gcc 9.3.0

Options
Warnings
Boost 1.73.0
C++17
no pedantic

Author

anonymous

about 4 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-9.3.0/include -std=c++17
prog.cc:12:16: error: declaration of 'usb::EndpointID usb::xhci::StopEndpointCommandTRB::EndpointID() const' changes meaning of 'EndpointID' [-fpermissive]
   12 |     EndpointID EndpointID() const {
      |                ^~~~~~~~~~
prog.cc:4:9: note: 'EndpointID' declared here as 'class usb::EndpointID'
    4 |   class EndpointID {
      |         ^~~~~~~~~~
Exit Code:
1