dxx-rebirth/similar/main
Kp a64bce8e26 Add workaround for clang crash compiling net_udp.cpp
Compiling net_udp.cpp with clang-3.4 crashes the compiler when parsing
a decltype that refers into the class currently being compiled.  Parsing
a decltype that refers to a parent class works.  Rearrange the decltype
usage to avoid referencing the current class.  This makes the code
harder to read and less flexible, but prevents clang from crashing.

Clang self trace:

1.      <eof> parser at end of file
2.      similar/main/net_udp.cpp:317:8: instantiating function definition 'operator()'
3.      similar/main/net_udp.cpp:317:8: LLVM IR generation of declaration '(anonymous namespace)::sockaddr_dispatch_t<(anonymous namespace)::dxx_recvfrom_t>::operator()'
4.      similar/main/net_udp.cpp:317:8: Mangling declaration '(anonymous namespace)::sockaddr_dispatch_t<(anonymous namespace)::dxx_recvfrom_t>::operator()'

[Update: also affects OS X clang v6, as reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/pull/35#issuecomment-73350066]
2015-02-07 20:28:09 +00:00
..
ai.cpp Pass end-of-list for ignore_obj_list 2015-02-05 03:03:51 +00:00
aipath.cpp Pass end-of-list for ignore_obj_list 2015-02-05 03:03:51 +00:00
automap.cpp Remove vm_angles_2_matrix return value 2015-02-05 03:03:51 +00:00
bm.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
cntrlcen.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
collide.cpp Return find_hitpoint_uv u,v by value 2015-01-29 04:27:36 +00:00
config.cpp Use RAIIPHYSFS_File to manage PHYSFS_File 2015-01-17 18:31:42 +00:00
console.cpp Use RAIIPHYSFS_File to manage PHYSFS_File 2015-01-17 18:31:42 +00:00
controls.cpp Remove vm_angles_2_matrix return value 2015-02-05 03:03:51 +00:00
credits.cpp Pass gr_remap_bitmap_good arg by & 2015-01-25 05:32:45 +00:00
digiobj.cpp Add convenience methods fix_sin, fix_cos 2015-02-05 03:03:50 +00:00
dumpmine.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
effects.cpp Reduce inclusion of wall.h 2014-12-22 04:35:49 +00:00
endlevel.cpp Pass end-of-list for ignore_obj_list 2015-02-05 03:03:51 +00:00
fireball.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
fuelcen.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
fvi.cpp Combine FQ_GET_SEGLIST scan/add 2015-02-05 03:03:51 +00:00
game.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
gamecntl.cpp use <cstdlib> instead of <stdlib.h> 2015-02-05 16:54:15 -08:00
gamefont.cpp Propagate for variables in similar/main/gamefont.cpp 2014-09-26 02:42:09 +00:00
gamemine.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
gamerend.cpp Use ntstring for NetworkMessageMacro name 2015-01-12 00:26:02 +00:00
gamesave.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
gameseg.cpp Use array<> for Side_to_verts 2015-02-05 03:03:50 +00:00
gameseq.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
gauges.cpp Pass end-of-list for ignore_obj_list 2015-02-05 03:03:51 +00:00
hostage.cpp Use vsegptridx_t 2014-10-28 03:08:51 +00:00
hud.cpp Use ntstring for hudmsg 2015-01-29 04:27:36 +00:00
iff.cpp Fix RAIIdmem array usage 2015-01-28 03:42:53 +00:00
inferno.cpp Exit cleanly on bad command line arguments 2015-01-28 03:42:53 +00:00
kconfig.cpp Reduce duplication in find_next_item_* 2015-02-05 03:03:49 +00:00
kmatrix.cpp Add newmenu_do helper for array<newmenu_item, N> 2015-01-18 01:58:32 +00:00
laser.cpp Pass end-of-list for ignore_obj_list 2015-02-05 03:03:51 +00:00
lighting.cpp Pass end-of-list for ignore_obj_list 2015-02-05 03:03:51 +00:00
menu.cpp Use RAII for PHYSFS_enumerateFiles result 2015-01-23 03:55:05 +00:00
mglobal.cpp Use array<> for Side_to_verts 2015-02-05 03:03:50 +00:00
mission.cpp Record briefing without modification 2015-01-18 01:58:31 +00:00
morph.cpp Remove vm_angles_2_matrix return value 2015-02-05 03:03:51 +00:00
multi.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
multibot.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
net_udp.cpp Add workaround for clang crash compiling net_udp.cpp 2015-02-07 20:28:09 +00:00
newdemo.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
newmenu.cpp Fix RAIIdmem array usage 2015-01-28 03:42:53 +00:00
object.cpp Pass end-of-list for ignore_obj_list 2015-02-05 03:03:51 +00:00
paging.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
physics.cpp Pass end-of-list for ignore_obj_list 2015-02-05 03:03:51 +00:00
piggy.cpp Pass rle_swap_0_255 arg by & 2015-01-29 04:27:37 +00:00
player.cpp Pass PHYSFSX_readVector vector by & 2014-10-26 22:08:58 +00:00
playsave.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
polyobj.cpp Remove vm_angles_2_matrix return value 2015-02-05 03:03:51 +00:00
powerup.cpp Reduce inclusion of segment.h 2015-01-29 04:27:36 +00:00
render.cpp Remove vm_angles_2_matrix return value 2015-02-05 03:03:51 +00:00
robot.cpp Unpack robot_info 2015-01-23 03:55:04 +00:00
scores.cpp Add newmenu_do helper for array<newmenu_item, N> 2015-01-18 01:58:32 +00:00
segment.cpp Use vsegptridx_t 2014-10-28 03:08:51 +00:00
slew.cpp Remove vm_angles_2_matrix return value 2015-02-05 03:03:51 +00:00
songs.cpp Use RAIIPHYSFS_File to manage PHYSFS_File 2015-01-17 18:31:42 +00:00
state.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
switch.cpp Use partial_range on Triggers 2014-12-08 04:19:26 +00:00
terrain.cpp Pass iff_read_bitmap arg by & 2015-01-25 05:32:44 +00:00
texmerge.cpp Remove gauges.h #include "piggy.h" 2015-01-29 04:27:35 +00:00
text.cpp Use RAIIPHYSFS_File to manage PHYSFS_File 2015-01-17 18:31:42 +00:00
titles.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
vclip.cpp Switch Laser_render to vobjptr_t 2014-11-30 22:09:23 +00:00
vers_id.cpp Shorten vers_id command line 2014-09-13 22:09:32 +00:00
wall.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00
weapon.cpp Capture range_for by-value temporaries as const 2015-02-05 03:03:49 +00:00