Skip to content

Compile error on 0.1.29 #5

Open

Description

@FallingSnow
bstone/udpsocket.v:81:63: error: unexpected `sizeof`, expecting `name`
   79 |     // level, optname, optvalue
   80 |     bufsize := Default_Buffer_Size
   81 |     C.setsockopt(sock, C.SOL_SOCKET, C.SO_RCVBUF, &bufsize, C.sizeof(bufsize))
      |                                                               ~~~~~~
   82 | 
   83 |     zero := 0

$ ../v/v --version
V 0.1.29 ca7a64a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions