[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: libsmb problems on SGI
From:       Nicolas Brodu <brodu () iie ! cnam ! fr>
Date:       1999-07-27 8:26:18
[Download RAW message or body]

On Mon, 26 Jul 1999, pilone@enews.nrl.navy.mil wrote:
> Hey folks.  It trying to get libsmb built on the sgi it chokes 
> in IOTypes.h and IODescriptors.h on the st_atime, st_ctime, and
> st_mtime fields of the classes.  They seem to be implemented in a way
> egcs isn't so happy about on SGIs.  By simply renaming the fields and
> fixing the appropriate c++ files all is well.  If this won't screw any 
> one up I'll commit it.  Comments? -- Dan

The problem is probably like the one on FreeBSD, there you have to define you
use POSIX source explicitely. The true reason is that in <sys/types.h>,
st_Xtime fields are '#define'd instead of real fields => precompiler extands
and compiler complains.
Now you're right, it would be a good idea to get rid of those problems by
renaming those fields. Except that they were called like the stat struct ones
on purpose, they have the same meaning. Why not removing the 'st_', since
thoses members are no longer from a stat struct ?

I propose we continue this discussion on the libsmb mailing list. It is not
really maintained in kdesupport (that's what kdesupport means), but rather in
the PLD CVS, with a 2 way sync 'by hand' from time to time.

Cheers,
--------------------------------
Nicolas Brodu, brodu@iie.cnam.fr
Eleve-Ingenieur 2eme annee (Institut d'Informatique d'Entreprise)
  http://www-eleves.iie.cnam.fr/brodu (libsmb)
KDE developer, brodu@kde.org
  http://www.kde.org, Color outside the lines !

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic