Skip to content
Snippets Groups Projects
  1. Jul 02, 2024
  2. Jun 26, 2024
  3. Jun 25, 2024
  4. Jun 05, 2024
  5. May 31, 2024
  6. May 22, 2024
  7. Apr 29, 2024
  8. Apr 05, 2024
  9. Mar 29, 2024
  10. Mar 26, 2024
  11. Mar 15, 2024
  12. Mar 14, 2024
  13. Feb 27, 2024
  14. Feb 14, 2024
  15. Feb 09, 2024
  16. Jan 23, 2024
  17. Dec 20, 2023
  18. Nov 29, 2023
  19. Nov 25, 2023
    • Marvin Häuser's avatar
      simulator: fix pedantic C++ 98 warnings · b0db5d4d
      Marvin Häuser authored
      C++ 98 requires all source files to terminate with a new-line character.
      It also does not allow for semicolons outside of declarations that
      require it (and in function scopes). Fix them to allow for pedantic
      warnings to be enabled when beneficial. Finally, it does not allow for
      object-to-function casts.
      
      The first two warnings are resolved trivially. For the third, the
      solution to cast through a pointer address is technically unsafe, as
      systems are not required to support object pointers (e.g. void *)
      being able to represent function pointers. However, the existence of
      dlsym() virtually implies this is supported on the target system
      (technically, all symbols could be data symbols, but that is
      nitpicking).
      b0db5d4d
Loading