Menu

Any check for multiply declared and initialized variables (actually doesn't happen)

2024-05-20
2024-05-22
  • CHR

    CHR - 2024-05-22

    I can't access that link, but why would this not initialize all three variables?
    Seems to work just fine: https://godbolt.org/z/T88e61s6h

     
    • Steve Albright

      Steve Albright - 2024-05-22

      Updated link, maybe there are compiler differences but I'd hope not...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.