Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Android: compile time int overflow #1539

@sewnie

Description

@sewnie

Describe the bug

This code fails to compile:

g4 := 0xFFFFFF00

How to reproduce

Build a cogent core app for android

Relevant output

/home/sewn/go/pkg/mod/cogentcore.org/[email protected]/gpu/device.go:56:8: cannot use 0xFFFFFF00 (untyped int constant 4294967040) as int value in assignment (overflows)

Platform

Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctlyconfirmedThis bug has been confirmed

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions