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

RE: Vim 6.0h: Win32 compile problem

Expand Messages
  • Brent Fulgham
    ... Okay, so then the library will need to be dynamically loaded. ... No -- what I am saying is that the Microsoft compiler exhibits the same behavior. Simply
    Message 1 of 16 , Sep 5, 2000
    • 0 Attachment
      > When I compile Vim on my Win 98 machine, and then run the binary
      > on a Win NT machine, it should work. Thus the code should not
      > depend on #ifdefs, which work at compile time, but on something
      > that doesn't use the ACL functions when running on a system that
      > doesn't support it.
      >
      Okay, so then the library will need to be dynamically loaded.

      > The real problem was that the Ming compiler doesn't have the
      > libraries for the ACL functions. Thus it doesn't work at
      > compile time.
      >
      No -- what I am saying is that the Microsoft compiler exhibits
      the same behavior. Simply #ifdef'ing around MING will NOT
      fix this problem.

      Thanks,

      -Brent
    • Bill McCarthy
      I can t get this to compile on Win2k using Ming s GCC. Here s the problem part of the output from: make -f Make_ming.mak gcc -Iproto -DWIN32 -DPC
      Message 2 of 16 , Oct 20, 2000
      • 0 Attachment
        I can't get this to compile on Win2k using Ming's GCC. Here's the
        problem part of the output from:

        make -f Make_ming.mak

        gcc -Iproto -DWIN32 -DPC -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_BIG -pipe
        -malign-double -mwide-multiply -march=i386 -mcpu=i686 -Wall -s
        -fomit-frame-pointer -freg-struct-return -malign-double -mwide-multiply
        -finline-functions -O3 -c os_win32.c -o os_win32.o
        os_win32.c:267: warning: `enum SE_OBJECT_TYPE' declared inside parameter list
        os_win32.c:267: warning: its scope is only this definition or declaration,
        which is probably not what you want.
        os_win32.c:267: warning: parameter has incomplete type
        os_win32.c:270: warning: `enum SE_OBJECT_TYPE' declared inside parameter list
        os_win32.c:270: warning: parameter has incomplete type
        os_win32.c: In function `mch_isFullName':
        os_win32.c:2208: warning: suggest parentheses around && within ||
        os_win32.c: In function `mch_get_acl':
        os_win32.c:2364: sizeof applied to an incomplete type
        os_win32.c:2369: `SE_FILE_OBJECT' undeclared (first use in this function)
        os_win32.c:2369: (Each undeclared identifier is reported only once
        os_win32.c:2369: for each function it appears in.)
        os_win32.c:2375: dereferencing pointer to incomplete type
        os_win32.c:2376: dereferencing pointer to incomplete type
        os_win32.c:2377: dereferencing pointer to incomplete type
        os_win32.c:2378: dereferencing pointer to incomplete type
        os_win32.c:2379: dereferencing pointer to incomplete type
        os_win32.c:2380: type of formal parameter 2 is incomplete
        os_win32.c: In function `mch_set_acl':
        os_win32.c:2408: `SE_FILE_OBJECT' undeclared (first use in this function)
        os_win32.c:2414: dereferencing pointer to incomplete type
        os_win32.c:2415: dereferencing pointer to incomplete type
        os_win32.c:2416: dereferencing pointer to incomplete type
        os_win32.c:2417: dereferencing pointer to incomplete type
        os_win32.c:2418: type of formal parameter 2 is incomplete
        os_win32.c: In function `mch_free_acl':
        os_win32.c:2431: dereferencing pointer to incomplete type
        make: *** [os_win32.o] Error 1



        ######################################################################
        This e-mail message has been scanned and cleared by MailMarshal
        ######################################################################
      • Bill McCarthy
        The post from me (quoted below) was about 6.0i (not 6.0h).
        Message 3 of 16 , Oct 20, 2000
        • 0 Attachment
          The post from me (quoted below) was about 6.0i (not 6.0h).

          On Fri, 20 Oct 2000 16:31:48 -0400, Bill McCarthy wrote:

          >I can't get this to compile on Win2k using Ming's GCC. Here's the
          >problem part of the output from:
          >
          > make -f Make_ming.mak
          >
          >gcc -Iproto -DWIN32 -DPC -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_BIG -pipe
          > -malign-double -mwide-multiply -march=i386 -mcpu=i686 -Wall -s
          > -fomit-frame-pointer -freg-struct-return -malign-double -mwide-multiply
          > -finline-functions -O3 -c os_win32.c -o os_win32.o
          >os_win32.c:267: warning: `enum SE_OBJECT_TYPE' declared inside parameter list
          >os_win32.c:267: warning: its scope is only this definition or declaration,
          > which is probably not what you want.
          >os_win32.c:267: warning: parameter has incomplete type
          >os_win32.c:270: warning: `enum SE_OBJECT_TYPE' declared inside parameter list
          >os_win32.c:270: warning: parameter has incomplete type
          >os_win32.c: In function `mch_isFullName':
          >os_win32.c:2208: warning: suggest parentheses around && within ||
          >os_win32.c: In function `mch_get_acl':
          >os_win32.c:2364: sizeof applied to an incomplete type
          >os_win32.c:2369: `SE_FILE_OBJECT' undeclared (first use in this function)
          >os_win32.c:2369: (Each undeclared identifier is reported only once
          >os_win32.c:2369: for each function it appears in.)
          >os_win32.c:2375: dereferencing pointer to incomplete type
          >os_win32.c:2376: dereferencing pointer to incomplete type
          >os_win32.c:2377: dereferencing pointer to incomplete type
          >os_win32.c:2378: dereferencing pointer to incomplete type
          >os_win32.c:2379: dereferencing pointer to incomplete type
          >os_win32.c:2380: type of formal parameter 2 is incomplete
          >os_win32.c: In function `mch_set_acl':
          >os_win32.c:2408: `SE_FILE_OBJECT' undeclared (first use in this function)
          >os_win32.c:2414: dereferencing pointer to incomplete type
          >os_win32.c:2415: dereferencing pointer to incomplete type
          >os_win32.c:2416: dereferencing pointer to incomplete type
          >os_win32.c:2417: dereferencing pointer to incomplete type
          >os_win32.c:2418: type of formal parameter 2 is incomplete
          >os_win32.c: In function `mch_free_acl':
          >os_win32.c:2431: dereferencing pointer to incomplete type
          >make: *** [os_win32.o] Error 1
        Your message has been successfully submitted and would be delivered to recipients shortly.