Skip site navigation (1)Skip section navigation (2)
Date:      04 Jun 2002 07:08:32 -0500
From:      "Michael D. Harnois" <mharnois@cpinternet.com>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        Stanislav Grozev <tacho@factline.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries
Message-ID:  <1023192513.4197.8.camel@mharnois.mdharnois.net>
In-Reply-To: <20020603211621.V2522-100000@mail1.hub.org>
References:  <20020603211621.V2522-100000@mail1.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > you replace
> > 	#pragma weak foo = bar
> > with either
> > 	#pragma weak foo = "bar" /* this is easier */
> > or
> > 	if __GNUC__ >= 3
> > 		int foo() __attribute__ ((weak, alias ("bar")));
> > 	#endif /* __GNUC__ */
> > .

I tried the quotation mark fix, and all it does is change the error
message to

UIThrStubs.c:102: warning: malformed #pragma weak, ignored
UIThrStubs.c:103: warning: malformed #pragma weak, ignored
UIThrStubs.c:104: warning: malformed #pragma weak, ignored
UIThrStubs.c:105: warning: malformed #pragma weak, ignored
UIThrStubs.c:106: warning: malformed #pragma weak, ignored
UIThrStubs.c:107: warning: malformed #pragma weak, ignored
UIThrStubs.c:108: warning: malformed #pragma weak, ignored
UIThrStubs.c:109: warning: malformed #pragma weak, ignored
UIThrStubs.c:110: warning: malformed #pragma weak, ignored
UIThrStubs.c:111: warning: malformed #pragma weak, ignored
UIThrStubs.c:113: warning: malformed #pragma weak, ignored
UIThrStubs.c:114: warning: malformed #pragma weak, ignored
UIThrStubs.c:115: warning: malformed #pragma weak, ignored
UIThrStubs.c:131: warning: `_Xthr_self_stub_' defined but not used
UIThrStubs.c:139: warning: `_Xthr_zero_stub_' defined but not used

which doesn't really seem to be a solution.

-- 
Michael D. Harnois                   bilocational bivocational
Pastor, Redeemer Lutheran Church                Washburn, Iowa
2L, UST School of Law                   Minneapolis, Minnesota
 There are things that are so serious 
 that you can only joke about them. -- Werner Heisenberg


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1023192513.4197.8.camel>