Skip to content
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

gcc did not produce #1

Open
rojas2015 opened this issue Mar 19, 2015 · 0 comments
Open

gcc did not produce #1

rojas2015 opened this issue Mar 19, 2015 · 0 comments

Comments

@rojas2015
Copy link

C:\Documents and Settings\xxxx>go get github.com/thingalon/goui

github.com/thingalon/goui

gcc did not produce error at completed:1
on input:

include <stddef.h> /* for ptrdiff_t and size_t below */

/* Define intgo when compiling with GCC. */
typedef ptrdiff_t intgo;

typedef struct { char *p; intgo n; } GoString;
typedef struct { char *p; intgo n; intgo c; } GoBytes;
GoString GoString(char *p);
GoString GoStringN(char *p, int l);
GoBytes GoBytes(void *p, int n);
char *CString(GoString);
void *_CMalloc(size_t);

line 1 "not-declared"

void cgo_f_1_1(void) { __typeof(int) *cgo_undefined; }

line 1 "not-type"

void *cgo_f_1_2(void) { int __cgo_undefined; }

line 1 "not-const"

void cgo_f_1_3(void) { enum { __cgo__undefined = (int)*1 }; }

line 1 "completed"

int __cgo__1 = __cgo__2;

full error output:
g++.exe: installation problem, cannot exec `cc1obj': No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant