Commit 68b3e91c by alokp@chromium.org

Fixed link error on GCC and clang. They complain about missing symbols even when…

Fixed link error on GCC and clang. They complain about missing symbols even when those symbols are not used. git-svn-id: https://angleproject.googlecode.com/svn/trunk@1196 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent c0a1eb3c
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 1195
#define BUILD_REVISION 1196
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
......
......@@ -272,9 +272,8 @@ O [0-7]
%%
#if !ANGLE_USE_NEW_PREPROCESSOR
// Old preprocessor interface.
extern "C" {
// Preprocessor interface.
#include "compiler/preprocessor/preprocess.h"
extern int InitPreprocessor();
......@@ -399,7 +398,6 @@ void updateExtensionBehavior(const char* extName, const char* behavior)
context->handleExtensionDirective(yylineno, extName, behavior);
}
} // extern "C"
#endif // !ANGLE_USE_NEW_PREPROCESSOR
int string_input(char* buf, int max_size, yyscan_t yyscanner) {
int len = 0;
......
......@@ -2948,9 +2948,8 @@ void yyfree (void * ptr , yyscan_t yyscanner)
#define YYTABLES_NAME "yytables"
#if !ANGLE_USE_NEW_PREPROCESSOR
// Old preprocessor interface.
extern "C" {
// Preprocessor interface.
#include "compiler/preprocessor/preprocess.h"
extern int InitPreprocessor();
......@@ -3075,7 +3074,6 @@ void updateExtensionBehavior(const char* extName, const char* behavior)
context->handleExtensionDirective(yylineno, extName, behavior);
}
} // extern "C"
#endif // !ANGLE_USE_NEW_PREPROCESSOR
int string_input(char* buf, int max_size, yyscan_t yyscanner) {
int len = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment