[sword-devel] A violation of C++ Standard

Victor Porton sword-devel@crosswire.org
Wed, 05 Jun 2002 23:18:22 +0600


C++ Standard forbids use identifiers with double underscores (also applies to 
preprocessor defines, which even cannot start with one underscore; even any 
global identifier must not start with an underscore). So the following is 
non-standard:

#ifndef __GREEKCHARS_H                                                         

#define __GREEKCHARS_H                                                         


and should be changed to something like

#ifndef GREEKCHARS_H_
#define GREEKCHARS_H_


-- 
Victor Porton (porton@narod.ru)