kripken/emscripten — Issue #138: Duplicate const declaration in libc/ctype.h
Author: pgoodman
Created: 2011-12-11 23:16:58+00:00
State: open

Lines 33-35 in ctype.h:

#ifndef _MB_CAPABLE
_CONST
#endif

Insert a "const" that falls through to line 111:

extern	__IMPORT _CONST char	_ctype_[];

Resulting in the following:

const extern	__IMPORT _CONST char	_ctype_[];

Compiler with -Werror, -pedantic, version:
clang version 3.1 (trunk 146155)
Target: x86_64-unknown-linux-gnu
Thread model: posix