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

List:       kopete-devel
Subject:    [Kopete-devel]
From:       stevee () zuken ! co ! uk
Date:       2003-08-06 16:44:32
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=62264     
           Summary: Compile error on Solaris 2.6 - use of utsname rather
                    than struct utsname
           Product: kopete
           Version: 0.7
          Platform: unspecified
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kopete-devel@kde.org
        ReportedBy: stevee@zuken.co.uk


Version:           0.7 (using KDE KDE 3.1.3)
Compiler:          gcc 3.2.3 
OS:          Solaris

On Solaris 2.6 I have a compile problem with the source file:

kopete/protocols/jabber/jabberaccount.cpp

This file makes use of the function uname() which on solaris takes a pointer to a \
struct utsname. However the code defined the variable as

utsname utsBuf;

*without* the struct keyword, so it failed to compile. Changing it to 

struct utsname utsBuf;

fixed the compile problem.
_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel


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

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