Menu

#2700 tkPlatDecls.h no longer C++ friendly

obsolete: 8.6b1.1
closed-fixed
99. Other (73)
5
2009-11-11
2009-10-26
Don Porter
No

For a few public Tk routines, such as Tk_GetHWND(),
it is documented that the header file tkPlatDecls.h
need to be #include-d.

Appears that a side-effect of some CONST-ifying
of the stubs machinery was to remove some
extern "C" wrapping. The consequence is that
#include <tkPlatDecls.h> in a C++ compile no
longer works.

Attached is a patch from kbk, to review and test.

Assigning to the source of the tkPlatDecls.h
revisions so we can check we're not undoing
anything important with the patch.

Thanks to Georgios Petasis for reporting
the problem.

Discussion

  • Don Porter

    Don Porter - 2009-10-26
     
  • Jan Nijtmans

    Jan Nijtmans - 2009-10-27

    Reviewed and tested: OK (FWIW)

     
  • Don Porter

    Don Porter - 2009-11-11

    fixed in HEAD

     
  • Don Porter

    Don Porter - 2009-11-11
    • assigned_to: das --> dgp
    • status: open --> closed-fixed