corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian C <...@amham.net>
Subject Re: hash pragma
Date Sun, 07 Jun 2015 09:35:06 GMT
On Sun, Jun 7, 2015 at 5:27 PM, jan i <jani@apache.org> wrote:

> On 7 June 2015 at 10:50, Ian C <ian@amham.net> wrote:
>
> > Hi All,
> >
> > I am in the process of restructuring the ODF code to parallel that of the
> > Word processing code.
> >
> I hope you and gabriela coordinate ?
>
Yeah, we chat...

>
> >
> > A small item, in my day job, I am used to using #pragma once instead of
> the
> > #defines in the header files.
> >
> > See http://en.wikipedia.org/wiki/Pragma_once for a discussion and a list
> > of
> > supported compilers. Which is almost all.
> >
> > What do we think about using it?
> >
> I have several other projects where I use #pragma so I am all for it.
> However we should NOT have double standards, so if we go for it, we need
> to change all header files in one commit.
>
That could make it more difficult. Unless we have a script whiz.
Or someone with a lot or time and patience : -)

rgds
> jan I.
>
> >
> > --
> > Cheers,
> >
> > Ian C
> >
>



-- 
Cheers,

Ian C

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message