Loading ...
Sorry, an error occurred while loading the content.

creat64 conflict ?

Expand Messages
  • Pawel S. Veselov
    Hi ! Hmm, now it s just a compilation problem, with --enable-workshop: In file included from vim.h:206, from workshop.c:37: auto/osdef.h:105: conflicting types
    Message 1 of 2 , Dec 4, 2001
    • 0 Attachment
      Hi !

      Hmm, now it's just a compilation problem, with --enable-workshop:

      In file included from vim.h:206,
      from workshop.c:37:
      auto/osdef.h:105: conflicting types for `creat64'
      /usr/include/fcntl.h:74: previous declaration of `creat64'
      gmake: *** [objects/workshop.o] Error 1

      $ uname -a
      SunOS druid 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-2

      Bye.
      --
      Pawel S. Veselov (software developer, Engineering Services) __ __(O) _ __
      e-mail: Pawel.Veselov@... \ V /| || ' \
      HomePage: http://www3.math.spbu.ru/~vps \_/ |_||_|_|_|
    • Bram Moolenaar
      ... Try deleting the line with creat() from osdef2.h.in. Apparently creat() is redefined to creat64() in a header file. But since Vim doesn t actually use
      Message 2 of 2 , Dec 15, 2001
      • 0 Attachment
        Pawel S. Veselov wrote:

        > Hmm, now it's just a compilation problem, with --enable-workshop:
        >
        > In file included from vim.h:206,
        > from workshop.c:37:
        > auto/osdef.h:105: conflicting types for `creat64'
        > /usr/include/fcntl.h:74: previous declaration of `creat64'
        > gmake: *** [objects/workshop.o] Error 1
        >
        > $ uname -a
        > SunOS druid 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-2

        Try deleting the line with creat() from osdef2.h.in. Apparently creat()
        is redefined to creat64() in a header file. But since Vim doesn't
        actually use creat() now, we can remove the function prototype.

        --
        ~
        ~
        ~
        ".signature" 4 lines, 50 characters written

        /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
        ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
        \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
      Your message has been successfully submitted and would be delivered to recipients shortly.