-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Very interesting project but the 'go get' command doesn't work. It seems there is an issue with the logf function.
Log :
# github.com/fipress/GoUI
In file included from go/src/github.com/fipress/GoUI/cocoa.go:16:
./bridge.c:54:13: error: static declaration of 'logf' follows non-static declaration
static void logf(const char *format, ...) {
^
/usr/include/math.h:386:14: note: previous declaration is here
extern float logf(float);
^
go/src/github.com/fipress/GoUI/cocoa.go:29:44: error: too many arguments to function call, expected 1, have 2
logf("didReceiveScriptMessage: %s\n",[message.name UTF8String]);
~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/math.h:386:1: note: 'logf' declared here
extern float logf(float);
^
go/src/github.com/fipress/GoUI/cocoa.go:32:37: error: too many arguments to function call, expected 1, have 2
logf("Received event %s\n", str);
~~~~ ^~~
/usr/include/math.h:386:1: note: 'logf' declared here
extern float logf(float);
^
[........]
24 errors generated.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels