Bug#2634: core

Igor S. Petrenko nofate at europe.com
Thu Feb 3 11:55:39 UTC 2000


Package: kdevelop
Version: 1.1beta2
Severity: grave

Bugreport ID : 13:54,03.02.00

Originator	: Igor S. Petrenko
E-Mail		: nofate at europe.com

Subject : core

Error Class	: software bug
Error Location	: class tree
Priority	: medium
Bug Description ---------------------------

#ifndef	_DEFAULTS_H_
#define	_DEFAULTS_H_

enum {
  DEFAULT_PORT		= 4444,
  DEFAULT_READ_SIZE	= 16284,	// bytes
};

namespace inet {
  enum {
    HELLO,
    PUT,
    SEND,
    READ_FILE,
    QUIT,
  };

  namespace name {
    const char	npos		= '\n';
    const char	HELLO[]	= "HELLO\n";
    const char	PUT[]		= "PUT ";
    const char	GET[]		= "GET ";
    const char	SEND[]		= "SEND ";
    const char	QUIT[]		= "QUIT\n";
    const char	OK[]		= "OK\n";
    const char	ERROR[]	= "ERROR\n";
  };

  namespace size {
    enum {
      npos		= sizeof( name::npos ),
      HELLO	= sizeof( name::HELLO ) - 1,
      PUT		= sizeof( name::PUT ) - 1,
      GET		= sizeof( name::GET ) - 1,
      SEND	= sizeof( name::SEND ) - 1,
      QUIT	= sizeof( name::QUIT ) -1,
    };
  };

};

namespace ident_key {
  enum {
    fax	= 0xFAC4E201,
  };
};


How to repeat the error -------------------



Bugfix or Workaround ----------------------



System Information ------------------------

KDevelop version	: 1.1beta2
KDE version		: 1.2.2
QT version		: 1.44
OS/Distribution		: Redhat 6.1
Compiler		: gcc-2.95.2

misc :




More information about the KDevelop-devel mailing list