Menu

#23 socket.d fails with an assert on AMD64

open
nobody
None
5
2007-06-28
2007-06-28
No

socket.d fails to compile with an assert on AMD64, due to the lack of declarations.

Discussion

  • Gianni Rossi

    Gianni Rossi - 2007-06-28

    Patch

     
  • David Friedman

    David Friedman - 2007-07-13

    Logged In: YES
    user_id=1378044
    Originator: NO

    Are you importing std.c.linux.socket directly? This module should not be used with GDC. The 'fix' would be to distribute a std.c.linux.socket that just imports std.c.unix.unix.

     
  • Gianni Rossi

    Gianni Rossi - 2007-07-16

    Logged In: YES
    user_id=1196031
    Originator: YES

    Yes, I was importing std.c.linux.socket directly; I was actually translating a C header into D, and the C version included <sys/socket.h>.

     

Log in to post a comment.

MongoDB Logo MongoDB