Changeset 275:03f6a96b28f2

Show
Ignore:
Timestamp:
06/11/2008 08:36:06 PM (4 years ago)
Author:
Dmitry Nezhevenko <dion@…>
Branch:
default
Message:

Make it compatible with gcc 4.3

Location:
src
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • src/base/disco/discohandler.h

    r267 r275  
    3030class GluxiBot; 
    3131 
    32 class gloox::Stanza; 
    33  
    3432class DiscoHandler 
    3533{ 
  • src/base/glooxwrapper.h

    r271 r275  
    1717#include "gloox/myvcardmanager.h" 
    1818 
    19 class gloox::Client; 
    20 class gloox::Stanza; 
    2119class MyStanza; 
    2220 
  • src/base/gluxibot.h

    r268 r275  
    2222class AbstractConfigurator; 
    2323class RootDiscoHandler; 
    24  
    25 class gloox::Client; 
    26 class gloox::Stanza; 
    2724 
    2825class QuitEvent: public QEvent 
  • src/base/main.cpp

    r252 r275  
    1212#include <signal.h> 
    1313#endif 
     14 
     15#include <stdlib.h> 
    1416 
    1517GluxiBot *bot; 
  • src/plugins/muc/mucplugin.h

    r274 r275  
    6464        int getStatus(gloox::Stanza* s); 
    6565        bool warnImOwner(gloox::Stanza* s); 
    66         QString expandMacro(gloox::Stanza* s, Conference*c, Nick* n, const QString& s, const AListItem* item=0); 
     66        QString expandMacro(gloox::Stanza* s, Conference*c, Nick* n, const QString& str, const AListItem* item=0); 
    6767        void requestVCard(gloox::Stanza* s, Conference* conf, Nick* nick); 
    6868private slots: 
  • src/socketw/src/sw_base.cxx

    r80 r275  
    2020#include <stdio.h> 
    2121#include <string.h> 
     22#include <stdlib.h> 
    2223 
    2324#ifndef __WIN32__ 
  • src/socketw/src/sw_ssl.cxx

    r80 r275  
    5656} 
    5757 
    58 X509* BuildCertificate(char *name, char *organization, char *country, EVP_PKEY *key)  
     58X509* BuildCertificate(const char *name, char *organization, char *country, EVP_PKEY *key)  
    5959{ 
    6060        if( !name )