Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
cf2a9637
Commit
cf2a9637
authored
16 years ago
by
Steven Bennetts
Browse files
Options
Downloads
Patches
Plain Diff
Workaround for cygwin flex 2.5.35 bug.
Reviewed by Phoenix
parent
90377a27
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/lscript/lscript_compile/indra.l
+5
-1
5 additions, 1 deletion
indra/lscript/lscript_compile/indra.l
with
5 additions
and
1 deletion
indra/lscript/lscript_compile/indra.l
+
5
−
1
View file @
cf2a9637
...
@@ -12,6 +12,7 @@ FS (f|F)
...
@@ -12,6 +12,7 @@ FS (f|F)
#include "linden_common.h"
#include "linden_common.h"
// Deal with the fact that lex/yacc generates unreachable code
// Deal with the fact that lex/yacc generates unreachable code
#ifdef LL_WINDOWS
#ifdef LL_WINDOWS
#pragma warning (disable : 4018) // warning C4018: signed/unsigned mismatch
#pragma warning (disable : 4702) // warning C4702: unreachable code
#pragma warning (disable : 4702) // warning C4702: unreachable code
#endif // LL_WINDOWS
#endif // LL_WINDOWS
#include "llmath.h"
#include "llmath.h"
...
@@ -44,7 +45,10 @@ void parse_string();
...
@@ -44,7 +45,10 @@ void parse_string();
#define YYLMAX 16384
#define YYLMAX 16384
#define YY_NEVER_INTERACTIVE 1 /* stops flex from calling isatty() */
#define YY_NEVER_INTERACTIVE 1 /* stops flex from calling isatty() */
#ifdef LL_WINDOWS
#define isatty(x) 0 /* hack for bug in cygwin flex 2.5.35 */
#endif
#ifdef ECHO
#ifdef ECHO
#undef ECHO
#undef ECHO
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment