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

List:       kdevelop-bugs
Subject:    [Bug 140704] New: kdevelop 3.4.0 fails to compile because some header
From:       ndeb () ece ! cmu ! edu
Date:       2007-01-27 7:30:24
Message-ID: 20070127083023.140704.ndeb () ece ! cmu ! edu
[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=140704         
           Summary: kdevelop 3.4.0 fails to compile because some header and
                    source files do not include ctype.h
           Product: kdevelop
           Version: 3.4.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs kdevelop org
        ReportedBy: ndeb ece cmu edu


Version:           3.4.0 (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          gcc-3.2.3 
OS:                Linux

Build OS was RHEL3. The compilation failed in two files:

1) lib/astyle/astyle.h calls isalnum() which is declared in ctype.h. But \
lib/astyle/astyle.h does not include ctype.h.

2) languages/cpp/debugger/variablewidget.cpp calls isprint() which is declared in \
ctype.h. But languages/cpp/debugger/variablewidget.cpp does not include ctype.h.

Manually adding the line ->

#include <ctype.h> 

in both files makes them compile fine.

On the good side, lib/antlr/src/String.cpp includes <cctype> and calls isprint() and \
compiles fine.


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

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