tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GNU inline functions



On Mar 29,  7:25pm, ragge%ludd.ltu.se@localhost (Anders Magnusson) wrote:
-- Subject: Re: GNU inline functions

| Christos Zoulas wrote:
| > In article <1269769826.562278.6335.nullmailer%galant.ukfsn.org@localhost>,
| > Iain Hibbert  <plunky%rya-online.net@localhost> wrote:
| >   
| >> On Sun, 28 Mar 2010, David Holland wrote:
| >>
| >>     
| >>> On Sat, Mar 27, 2010 at 04:03:07PM +0000, Iain Hibbert wrote:
| >>>  > [gcc inline lossage]
| >>>
| >>> Look at games/sail/inlinedefs.h, and how it's used in
| >>> games/sail/array.h.
| >>>       
| >> Yes, this is the same setup as signal.h & libc/gen/sigsetops.c
| >>
| >> (btw all of games/ builds fine with HAVE_PCC=yes except dab(6) which is
| >> C++ -- time for a rewrite, Christos? :)
| >>     
| >
| > Well, I wrote it in c++ so that we did not have a single c++ (groff)
| > application in base :-)
| >   
| I wrote a simple c++ frontend to pcc just to test, maybe I should extend 
| it to
| compile dab? :-)

The code *on purpose* does not include any c++ headers (so that
libstdc++ is not required), or any other advanced c++ constructs that
would require extensive language support (templates, operator
overloading, exceptions), except virtual functions.

christos


Home | Main Index | Thread Index | Old Index