[Bug 54470] New: header files are not recognized as C++

[email protected]
Newsgroups gmane.comp.kde.devel.atlantik
Message-ID <[email protected]>
------- 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=54470     
           Summary: header files are not recognized as C++
           Product: atlantik
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Version:            (using KDE KDE 3.1)
Installed from:    Compiled From Sources

The header files (*.h) are not recognized as C++ sourcecode when opened with for example emacs. Instead they are recognized as C. There are 2 solutions:

1. Add a line like "//  -*- mode: c++; tab-width: 2 -*-" at the top of each file, before the copyright notice. (The tab-width could be set to something else or omitted, it is just an example.)

2. Rename the files to *.hh.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.