Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > openwatcom.users.c_cpp > #3490

Re: crash on macro concat

From Hans-Bernhard Bröker <broeker@physik.rwth-aachen.de>
Newsgroups openwatcom.users.c_cpp
Subject Re: crash on macro concat
Date 2017-04-06 18:57 +0200
Organization OpenWatcom
Message-ID <oc6h13$7lb$1@www.openwatcom.org> (permalink)
References <oc51ig$1dp$1@www.openwatcom.org>

Show all headers | View raw


Am 06.04.2017 um 05:27 schrieb David:
>
> #define CONCAT_I(s1,s2) s1##s2
> #define CONCAT(s1,s2) CONCAT_I(s1,s2)
>
> #define SECOND_PARAM
>
> #define TEMPLATE(s1) CONCAT(s1, SECOND_PARAM)
>
> TEMPLATE(whatever)
>
>

No crash.

Back to openwatcom.users.c_cpp | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

crash on macro concat "David" <nope@dont.invalid> - 2017-04-05 20:27 -0700
  Re: crash on macro concat Paul S. Person <psperson@ix.netscom.com.invalid> - 2017-04-06 09:28 -0700
  Re: crash on macro concat Hans-Bernhard Bröker <broeker@physik.rwth-aachen.de> - 2017-04-06 18:57 +0200
  Re: crash on macro concat Brian Havard <brianh@kheldar.apana.org.au> - 2017-04-21 15:12 +1000

csiph-web