Re: [Gc] bug#18711: Numerous unknown attribute '__alloc_size__' warnings when using clang

Bruce Hoult <[email protected]> Sat, 18 Oct 2014 12:33:26 +1300
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <CAMU+EkzVe78sCd=RpW-3vvqfOES+mQuDt9x2Eyv+qQ-OT0=Y=Q@mail.gmail.com>
How so? If __GNUC__ is not defined then any use of it will evaluate to 0,
which will produce the same results as guarding the other tests with
defined(__GNUC__).


On Sat, Oct 18, 2014 at 9:52 AM, Mark H Weaver <[email protected]> wrote:

> Hi Ivan,
>
> Ivan Maidanski <ivmai-JGs/[email protected]> writes:
> > I merged the fix to master:
> >
> https://github.com/ivmai/bdwgc/commit/b725923951d77f5c6792c2797f89179267c58c9c
>
> Did you intentionally remove the "defined(__GNUC__)" check?  Unless
> there's some relevant context I'm missing, I guess this will break the
> build on any compiler that doesn't implement GNU C.
>
>      Mark
> _______________________________________________
> bdwgc mailing list
> [email protected]
> https://lists.opendylan.org/mailman/listinfo/bdwgc
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

_______________________________________________
bdwgc mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/bdwgc