RE: RH7/CORBA compile queries (was RH7/gnome compile queries)
- From: D-Man <dsh8290 rit edu>
- To: Joachim Backes <backes rhrk uni-kl de>
- Cc: gnome-list <gnome-list gnome org>
- Subject: RE: RH7/CORBA compile queries (was RH7/gnome compile queries)
- Date: Thu, 19 Oct 2000 23:56:35 -0400
I get this all the time on my RH7, x86, system. No problems before on RH6.2 using an upgraded gcc 2.95.2. ( I get the errors for any of the CORBA apps b/c they all include this file )
The offending lines in the header use a feature I've never seen mentioned in any book before:
it appears that the macro accepts some sort of "symbolic" argument which is used to create the symbolic expansion using '#' characters.
(here's the line, there are several of them and they all give the same error)
#define ENCODER_DEC(typename) \
void giop_encoder_##typename##(GIOPSendBuffer *send_buffer, \
const typename *mem)
Could someone explain this C (preprocessor) feature to me?
Thanks,
-D
On Wed, 18 Oct 2000 01:39:28 Joachim Backes wrote:
>
> On 15-Oct-2000 mike wrote:
> > Hi
> > I haver just upgraded my home box to RH7
> >
> > When I compile programs I get a warning of
> >
> > /usr/include/IIOP/iiop-encoders.h:17:31: warning: pasting would not give
> > a valid preprocessing token
> >
> > etc
> >
>
> Hi,
>
> possibly, this is an effect of the gcc contained in RH 7 (gcc-2.96, this
> is a no-release release, which is not authorized by the gcc team).
>
> Regards
>
> Joachim Backes
>
> --
>
> Joachim Backes <backes rhrk uni-kl de> | Univ. of Kaiserslautern
> Computer Center, Supercomputing Division | Phone: +49-631-205-2438
> D-67653 Kaiserslautern, PO Box 3049, Germany | Fax: +49-631-205-3056
> ---------------------------------------------+------------------------
> WWW: http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html
>
>
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]