logo       

Re: Errors building the C++ API: msg#00026

Subject: Re: Errors building the C++ API
David Nickerson wrote:
> Hi all,
>
> I know Andrew and I have discussed this in the past but just thought I'd 
> raise the issue here and see if anyone has any ideas.
>
> I have just begun trying to build the C++ API implementation using the 
> latest svn trunk code. I'm using a freshly installed Fedora 7 Linux box 
> (gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)). This used to work fine on 
> my previous Fedora Core 5 install, but since FC6 the Fedora project 
>   

The problem is that Red Hat maintains the compiler and they always seem 
to sneak in a few 'bleeding edge' changes into their version, which 
often break obscure features of gcc (last time I looked into it, I 
believe they had an earlier, broken patch of the visibility patch, and 
we simply check that visibility is present and use it if it is. FC's 
patches mean the test passes, but visibility doesn't actually work quite 
right). I am not sure why the problem has persisted into newer versions 
- I would have thought they would have moved to a newer gcc with 
visibility support instead of using their patch.

> seems to be using a build of gcc that gives errors when building the 
> CellML API. The error is a variation on
>
> ./interfaces/Ifacexpcom.hxx:29: error: 'visibility' attribute ignored 
> because 'iface::XPCOM::IObject' is already defined
>
> for the objects in the generated header files in the interfaces 
> directory. In the past I have got around this problem by compiling a 
> local version of gcc without whatever the change is from RedHat which 
> breaks builds with the stock gcc version.
>
> So I'm just wondering if anyone else has found this problem and how 
> you've fixed/avoided it? and whether this error is really simply an 
> error in the Fedora builds or if it is actually picking up a real error 
> somewhere in the API implementation or IDL files? Its getting to be 
> quite a pain having to build gcc on each machine I try to use, and apart 
> from the API all the Fedora boxes I use seem to work perfectly fine...
>
>
> Thanks,
> Andre.
> _______________________________________________
> cellml-discussion mailing list
> cellml-discussion-+N4dcC6UsuQdnm+yROfE0A@xxxxxxxxxxxxxxxx
> http://www.cellml.org/mailman/listinfo/cellml-discussion
>   


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe