Opened 5 years ago
Closed 5 years ago
#59536 closed defect (fixed)
surf: error: missing ',' between enumerators
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | surf |
Description
In file included from surf.c:25: In file included from /opt/local/include/webkitgtk-4.0/JavaScriptCore/JavaScript.h:31: In file included from /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h:29: In file included from /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h:31: /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:54:18: error: missing ',' between enumerators kJSTypeSymbol JSC_API_AVAILABLE(macos(10.15), ios(13.0)) ^ , /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:54:36: error: expected '= constant-expression' or end of enumerator definition kJSTypeSymbol JSC_API_AVAILABLE(macos(10.15), ios(13.0)) ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:2: error: expected ';' after enum } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:3: error: unknown type name 'JSTypedArrayType' } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:44: error: expected parameter declarator } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:44: error: expected ')' /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:43: note: to match this '(' } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:38: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:56: error: expected parameter declarator } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:56: error: expected ')' /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:55: note: to match this '(' } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:152:68: error: expected function body after function declarator JS_EXPORT bool JSValueIsSymbol(JSContextRef ctx, JSValueRef value) JSC_API_AVAILABLE(macos(10.15), ios(13.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:181:67: error: expected function body after function declarator JS_EXPORT bool JSValueIsArray(JSContextRef ctx, JSValueRef value) JSC_API_AVAILABLE(macos(10.11), ios(9.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:190:66: error: expected function body after function declarator JS_EXPORT bool JSValueIsDate(JSContextRef ctx, JSValueRef value) JSC_API_AVAILABLE(macos(10.11), ios(9.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:200:11: error: unknown type name 'JSTypedArrayType' JS_EXPORT JSTypedArrayType JSValueGetTypedArrayType(JSContextRef ctx, JSValueRef value, JSValueRef* exception) JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:200:112: error: expected function body after function declarator JS_EXPORT JSTypedArrayType JSValueGetTypedArrayType(JSContextRef ctx, JSValueRef value, JSValueRef* exception) JSC_API_AVAILABLE(macos(10.12), ios(10.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:289:83: error: expected function body after function declarator JS_EXPORT JSValueRef JSValueMakeSymbol(JSContextRef ctx, JSStringRef description) JSC_API_AVAILABLE(macos(10.15), ios(13.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:300:86: error: expected function body after function declarator JS_EXPORT JSValueRef JSValueMakeFromJSONString(JSContextRef ctx, JSStringRef string) JSC_API_AVAILABLE(macos(10.7), ios(7.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:311:123: error: expected function body after function declarator JS_EXPORT JSStringRef JSValueCreateJSONString(JSContextRef ctx, JSValueRef value, unsigned indent, JSValueRef* exception) JSC_API_AVAILABLE(macos(10.7), ios(7.0)); ^ In file included from surf.c:25: In file included from /opt/local/include/webkitgtk-4.0/JavaScriptCore/JavaScript.h:31: In file included from /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h:29: /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h:444:134: error: expected function body after function declarator JS_EXPORT JSObjectRef JSObjectMakeArray(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) JSC_API_AVAILABLE(macos(10.6), ios(7.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h:455:133: error: expected function body after function declarator JS_EXPORT JSObjectRef JSObjectMakeDate(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) JSC_API_AVAILABLE(macos(10.6), ios(7.0)); ^ /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h:466:134: error: expected function body after function declarator JS_EXPORT JSObjectRef JSObjectMakeError(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) JSC_API_AVAILABLE(macos(10.6), ios(7.0)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make: *** [surf.o] Error 1
Change History (2)
comment:1 Changed 5 years ago by kencu (Ken)
comment:2 Changed 5 years ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
OK, thanks. I'll take a peek.