FreeBSD 10 clang port

This commit is contained in:
Ulrich Wilkens
2014-07-27 16:48:57 +02:00
committed by Jon Trulson
parent 8d0551bfda
commit c3f74eec17
99 changed files with 510 additions and 366 deletions

View File

@@ -293,6 +293,9 @@ ConstantNode::evaluate() const
extern unsigned g_validation_mode;
#if defined(__FreeBSD__) && (__FreeBSD__ >= 10) && !defined(__llvm__)
__attribute__((optimize(0)))
#endif
FeatureValue *
SgmlAttributeNode::evaluate() const
{

View File

@@ -495,11 +495,13 @@ void defParser_init_buffer defParser_PROTO(( defParser_BUFFER_STATE b, FILE *fil
#define defParser_new_buffer defParser_create_buffer
#if 0
#ifdef __cplusplus
static int defParserinput defParser_PROTO(( void ));
#else
static int input defParser_PROTO(( void ));
#endif
#endif
defParser_DECL
{
@@ -1104,6 +1106,7 @@ register defParser_CHAR *defParser_bp;
#endif
#if 0
#ifdef __cplusplus
static int defParserinput()
#else
@@ -1170,6 +1173,7 @@ static int input()
return ( c );
}
#endif
#ifdef defParser_USE_PROTOS