-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps/v8/src/compiler/graph-visualizer.h:23:1: error: 'FILE' does not name a type #1637
Comments
Upstream report: http://code.google.com/p/v8/issues/detail?id=4079 |
Does the build succeed when you apply this patch? diff --git a/deps/v8/src/compiler/graph-visualizer.h b/deps/v8/src/compiler/graph-visualizer.h
index 17094c2..0e6a647 100644
--- a/deps/v8/src/compiler/graph-visualizer.h
+++ b/deps/v8/src/compiler/graph-visualizer.h
@@ -5,6 +5,7 @@
#ifndef V8_COMPILER_GRAPH_VISUALIZER_H_
#define V8_COMPILER_GRAPH_VISUALIZER_H_
+#include <stdio.h>
#include <iosfwd>
namespace v8 { |
Yes, it does. Figured out a moment ago :) Both amd64 and i386 build fine. Just playing with my setup to submit this back to v8... |
Don't worry, I'll upload the patch. It's an arcane process you wouldn't believe... |
:) No worries. Did submit a patch to android and gerrit code review, it's actually almost the same... |
Here's mine FWIW: https://codereview.chromium.org/1128053002/ |
I actually wonder why it is FreeBSD specific? |
Fix the following build error: ../deps/v8/src/compiler/graph-visualizer.h:23:1: error: 'FILE' does not name a type See nodejs/node#1637 for background. BUG=v8:4079 LOG=N Review URL: https://codereview.chromium.org/1128053002 Cr-Commit-Position: refs/heads/master@{#28254}
I speculate that on most systems (but not FreebSD), iosfwd pulls in stdio.h (where FILE lives, or is supposed to live.) |
Yes, it includes <wchar.t> which does not include stdio. I wonder why clang doesn't mind then :) |
Fixes: nodejs#1637 PR-URL: nodejs#1639 Reviewed-By: Trevor Norris <[email protected]> V8-Bug: https://code.google.com/p/v8/issues/detail?id=3960 V8-Bug: https://code.google.com/p/v8/issues/detail?id=4079
This should have been fixed in #1639, please reopen if you still have the issue. |
Fix the following build error: ../deps/v8/src/compiler/graph-visualizer.h:23:1: error: 'FILE' does not name a type See nodejs/node#1637 for background. BUG=v8:4079 LOG=N Review URL: https://codereview.chromium.org/1128053002 Cr-Commit-Position: refs/heads/master@{#28254}
This is for 2.0.0, being built with g++ 4.8.4 on FreeBSD 8.4 (both amd64 and i386).
For other versions we are using clang which works fine.
.
The text was updated successfully, but these errors were encountered: