We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pcre_uchar s[] = "abcd"; pcre_uchar *a = &s[1]; pcre_uchar *b = &s[0]; is_eq(a + 2 - 1 - b, 2);
gives the go build errors:
cannot take the address of (*(*[1000000000]pcre_uchar)(unsafe.Pointer(uintptr(unsafe.Pointer(&(*(*[1000000000]pcre_uchar)(unsafe.Pointer(uintptr(unsafe.Pointer(&a[0])) + uintptr(int32(2)) * unsafe.Sizeof(a[0]))))[:][0])) - uintptr(int32(1)) * unsafe.Sizeof((*(*[1000000000]pcre_uchar)(unsafe.Pointer(uintptr(unsafe.Pointer(&a[0])) + uintptr(int32(2)) * unsafe.Sizeof(a[0]))))[:][0]))))[:] cannot take the address of (*(*[1000000000]pcre_uchar)(unsafe.Pointer(uintptr(unsafe.Pointer(&(*(*[1000000000]pcre_uchar)(unsafe.Pointer(uintptr(unsafe.Pointer(&a[0])) + uintptr(int32(2)) * unsafe.Sizeof(a[0]))))[:][0])) - uintptr(int32(1)) * unsafe.Sizeof((*(*[1000000000]pcre_uchar)(unsafe.Pointer(uintptr(unsafe.Pointer(&a[0])) + uintptr(int32(2)) * unsafe.Sizeof(a[0]))))[:][0]))))[:]
The text was updated successfully, but these errors were encountered:
Use tempVar to take address of complex expression. Fixes elliotchance…
8b04784
…#715
Take address of complex expressions. Fixes #715 (#716)
27d1cee
No branches or pull requests
gives the go build errors:
The text was updated successfully, but these errors were encountered: