dxx-rebirth/similar/main
Kp 3d5de92058 Fix OS X clang build
OS X still uses clang-14, which lacks sufficient std::ranges support for
recent Rebirth changes.

- Rewrite uses of std::ranges::SYMBOL to ranges::SYMBOL
- Add a stub header that, on gcc, provides for each SYMBOL a statement
  `using std::ranges::SYMBOL;`, to delegate back to the standard library
  implementation.
- On clang, define a minimal implementation of the required symbols,
  without constraint enforcement.  Compile-testing with gcc will catch
  constraint violations.

Once OS X clang ships a standard library with the required features,
this stub header will be removed and the uses changed back to their full
names.
2022-10-31 00:51:32 +00:00
..
ai.cpp Make vector magnitude constant in more cases 2022-09-24 17:47:52 +00:00
aipath.cpp Use enum class for Difficulty_level_type 2022-07-16 15:26:12 +00:00
automap.cpp Fix various Win32 build failures due to ambiguous operator[]() 2022-10-23 23:00:24 +00:00
bm.cpp Pass polymodel& to polymodel_read 2022-10-09 23:15:20 +00:00
bmread.cpp Use enum class for polygon_simpler_model_index 2022-10-09 23:15:20 +00:00
cntrlcen.cpp Sanitize control center triggers on load 2022-09-24 17:47:52 +00:00
collide.cpp Fix various Win32 build failures due to ambiguous operator[]() 2022-10-23 23:00:24 +00:00
config.cpp Improve error reporting for PHYSFSX_openWriteBuffered 2021-07-25 23:00:56 +00:00
console.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
controls.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
credits.cpp Use std::span for CREDITS_FILE 2022-09-24 17:47:52 +00:00
digiobj.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
dumpmine.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
effects.cpp Use sidenum_t in more places 2022-02-19 14:52:17 +00:00
endlevel.cpp Pass polymodel& to draw_model_picture, draw_polygon_model 2022-10-09 23:15:20 +00:00
fireball.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
fuelcen.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
fvi.cpp Revert incorrect robot collision logic change 2022-10-09 23:15:21 +00:00
game.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
gamecntl.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
gamefont.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
gamemine.cpp Use enum for segnum_t 2022-07-02 18:10:45 +00:00
gamerend.cpp Fix various Win32 build failures due to ambiguous operator[]() 2022-10-23 23:00:24 +00:00
gamesave.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
gameseg.cpp Change trace_segs not to recompute children on every pass 2022-09-24 17:47:52 +00:00
gameseq.cpp Fix score getting mangled after new ship 2022-10-29 20:03:08 +02:00
gauges.cpp Use enum class for pig_hamfile_version 2022-10-09 23:15:20 +00:00
generate-kconfig-udlr.py Convert kconfig array lookups to require correct enumerated type 2020-07-05 23:34:33 +00:00
hostage.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
hud.cpp Fix various Win32 build failures due to ambiguous operator[]() 2022-10-23 23:00:24 +00:00
iff.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
inferno.cpp Default disable VR side-by-side for OpenGL ES 2022-10-09 23:15:20 +00:00
kconfig.cpp Merge commit 'refs/pull/657/head' into master 2022-08-23 02:13:01 +00:00
kconfig.ui-table.cpp Rename pitch -> pitch_ud for consistency 2022-02-27 14:23:53 +00:00
kmatrix.cpp Use alias template per_player_array for arrays that are MAX_PLAYERS long 2022-09-24 17:47:53 +00:00
laser.cpp Make vector magnitude constant in more cases 2022-09-24 17:47:52 +00:00
lighting.cpp Make vector magnitude constant in more cases 2022-09-24 17:47:52 +00:00
menu.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
mglobal.cpp Use std::span for poison helper functions 2022-09-24 17:47:51 +00:00
mission.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
morph.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
multi.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
multibot.cpp Use enum class for multiplayer_command_t 2022-10-23 23:00:24 +00:00
net_udp.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
newdemo.cpp Fix various Win32 build failures due to ambiguous operator[]() 2022-10-23 23:00:24 +00:00
newmenu.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
object.cpp Pass polymodel& to draw_model_picture, draw_polygon_model 2022-10-09 23:15:20 +00:00
paging.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
physics.cpp Pass LevelSharedRobotInfoState to various functions that need it 2022-07-09 13:39:29 +00:00
piggy.cpp Use enum class for pig_hamfile_version 2022-10-09 23:15:20 +00:00
player.cpp Add experimental support for guidebot in multiplayer 2019-06-27 03:26:20 +00:00
playsave.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
polyobj.cpp Use enum class for polygon_simpler_model_index 2022-10-09 23:15:20 +00:00
powerup.cpp Pass std::span to powerup_basic_str 2022-09-24 17:47:53 +00:00
render.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
robot.cpp Pass polymodel& to polymodel_read 2022-10-09 23:15:20 +00:00
scores.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
segment.cpp Use enum for segnum_t 2022-07-02 18:10:45 +00:00
slew.cpp optimize include files (include what you use) 2021-02-06 21:38:50 +01:00
songs.cpp Fix various Win32 build failures due to ambiguous operator[]() 2022-10-23 23:00:24 +00:00
state.cpp Use std::span for poison helper functions 2022-09-24 17:47:51 +00:00
switch.cpp Use enum class for player connected status 2022-07-16 15:26:12 +00:00
terrain.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
texmerge.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
text.cpp Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
titles.cpp Pass polymodel& to draw_model_picture, draw_polygon_model 2022-10-09 23:15:20 +00:00
vclip.cpp Pass GameBitmaps to draw_object_blob 2022-06-05 17:44:52 +00:00
vers_id.cpp Fix buffer overread at startup 2022-10-19 01:17:33 +00:00
wall.cpp Fix OS X clang build 2022-10-31 00:51:32 +00:00
weapon.cpp Assert size of serialized weapon_info structure 2022-10-09 23:15:20 +00:00