Path: csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Problems with lcc-win32 Date: Mon, 06 Mar 2017 08:42:00 -0800 Organization: None to speak of Lines: 16 Message-ID: References: <3cd2645c-a5a1-4284-8fb4-309e14ee4d8e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="249260d50d827d4343a089464177f34d"; logging-data="21294"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uszXW+whsOSiYuKzsYB7R" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:ThZAa+Iu39nXoHBF6aPMacTN/Qo= sha1:kZftu9F/Au+cOMzH0RYBUKvBdzY= Xref: csiph.com comp.lang.c:105490 David Brown writes: [...] > C++ does not have "__has_include". A number of C++ compilers (gcc, > clang, MSVC, perhaps others) have it as an extension - for gcc and clang > it works in C as well as C++, but I don't know about MSVC. [...] __has_include is a new feature in the upcoming C++17 standard (which is relevant here because it strengthens the argument for using the same syntax if a similar feature is added to C). -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"