Skip to content

Stack overflow in Macro::expand() #403

@chrchr-github

Description

@chrchr-github
#define _func_strc_(x, y)	x ## y
#define _func_strc(x, y)	_func_strc_(x, y)

#define UCPP_PRIVATE(func)	_func_strc(UCPP_PRIVATE_PREFIX, _func_strc(func, UCPP_PRIVATE_SUFFIX))

#define die UCPP_PRIVATE(die)
void die(void);

https://trac.cppcheck.net/ticket/13459

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions