• Poul-Henning Kamp's avatar
    Arcanæ of the C-preprocessor (#436), brought to you by FlexeLint: · 5d3099e2
    Poul-Henning Kamp authored
    Don't:
    
    	MACRO(
    		a,
    	#if FOO
    		b,
    	#else
    		c,
    	#endif
    		d
    	)
    
    A function like macro was invoked whose arguments extended for
    multiple lines, which included preprocessor statements. This is
    almost certainly an error brought about by a missing right parenthesis.
    
    By the rules of Standard C the preprocessing directive is absorbed
    into the macro argument but then will not subsequently get executed.
    For this reason some compilers treat the apparent preprocessor
    directive as a directive. This is logical but not portable.
    
    It is therefore best to avoid this construct.
    5d3099e2
Name
Last commit
Last update
..
README Loading commit data...
acct_fields_bereq.h Loading commit data...
acct_fields_req.h Loading commit data...
backend_poll.h Loading commit data...
ban_vars.h Loading commit data...
bo_flags.h Loading commit data...
boc_state.h Loading commit data...
body_status.h Loading commit data...
cli_cmds.h Loading commit data...
debug_bits.h Loading commit data...
feature_bits.h Loading commit data...
h2_error.h Loading commit data...
h2_frames.h Loading commit data...
h2_settings.h Loading commit data...
h2_stream.h Loading commit data...
http_headers.h Loading commit data...
http_response.h Loading commit data...
locks.h Loading commit data...
obj_attr.h Loading commit data...
oc_exp_flags.h Loading commit data...
oc_flags.h Loading commit data...
params.h Loading commit data...
req_body.h Loading commit data...
req_flags.h Loading commit data...
sess_attr.h Loading commit data...
sess_close.h Loading commit data...
steps.h Loading commit data...
symbol_kind.h Loading commit data...
vhd_fsm.h Loading commit data...
vhd_fsm_funcs.h Loading commit data...
vhd_return.h Loading commit data...
vhp_huffman.h Loading commit data...
vhp_static.h Loading commit data...
vsc_all.h Loading commit data...
vsc_f_main.h Loading commit data...
vsc_fields.h Loading commit data...
vsc_levels.h Loading commit data...
vsc_types.h Loading commit data...
vsl_tags.h Loading commit data...
vsl_tags_http.h Loading commit data...