#1916 tk in HEAD fails to compile clean

obsolete: 8.5a3
closed-fixed
Chengye Mao
None
9
2005-06-01
2005-05-30
Joe Mistachkin
No

..\win\tkWinEmbed.c(734) : warning C4013:
'TkpWmGetState' undefined; assuming extern returning int
..\win\tkWinWm.c(2227) : warning C4013:
'Tk_GetMenuHWND' undefined; assuming extern returning int
..\win\tkWinWm.c(7645) : warning C4013:
'Tk_GetEmbeddedMenuHWND' undefined; assuming extern
returning int
..\win\tkWinWm.c(7645) : warning C4047: 'initializing'
: 'struct HWND__ *' differs in levels of indirection
from 'int '
..\win\tkWinX.c(345) : warning C4013:
'TkWinCleanupContainerList' undefined; assuming extern
returning int
..\win\tkWinX.c(1930) : warning C4047: '=' : 'unsigned
long ' differs in levels of indirection from 'void *'

Discussion

  • Jeffrey Hobbs
    Jeffrey Hobbs
    2005-05-30

    Logged In: YES
    user_id=72656

    A clean build works fine for me.

     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2005-05-30

    • status: open --> closed-works-for-me
     
  • Logged In: NO

    These errors also occur for me (WinXPsp2, VC7.1)
    tkPlatDecl.h v1.10 changes were made directly to the file
    and not by the genStubs script.
    The same with tkIntPlatDecs.h v1.20 & v1.21.
    And tkStubInit.c v1.47 - v1.49.

     
  • Pat Thoyts
    Pat Thoyts
    2005-06-01

    Logged In: YES
    user_id=202636

    This is still broken at 16:00 GMT 1-June-2005 using MSVC 6
    to compile a clean build

     
  • Pat Thoyts
    Pat Thoyts
    2005-06-01

    • assigned_to: nobody --> hobbs
    • status: closed-works-for-me --> open-works-for-me
     
  • Pat Thoyts
    Pat Thoyts
    2005-06-01

    • priority: 5 --> 9
    • assigned_to: hobbs --> chengyemao
     
  • Pat Thoyts
    Pat Thoyts
    2005-06-01

    Logged In: YES
    user_id=202636

    Reassinged to chengyemao based on the cvs history. Looks
    like the TIP245 stubs regeneration has removed the items.
    They need adding to the .decls files.

     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2005-06-01

    • status: open-works-for-me --> closed-fixed
     
  • Jeffrey Hobbs
    Jeffrey Hobbs
    2005-06-01

    Logged In: YES
    user_id=72656

    OK, misread the first time when going through the bugs in
    bulk. I thought it meant didn't compile ... not just
    warnings. They have been fixed by adding def'ns to
    tkWinInt.h. I'm not sure I want those MenuHWND going public
    (added by Chengye).