#2536 const changes not all correct

obsolete: 8.6a4
closed-fixed
Jan Nijtmans
9
2008-11-05
2008-11-05
Jeffrey Hobbs
No

The last set of changes (Nov 2) introduced a bug in tkUnixFont.c:2551. You declare nameList as:

const char *const *nameList;

but that defies the assignment it receives at 2551. mjanssen noticed this with gcc4, but my gcc3 glossed over it. Please use gcc4 for const changes in the future to prevent const poisoning issues.

Discussion

  • Jan Nijtmans
    Jan Nijtmans
    2008-11-05

    • status: open --> closed-fixed
     
  • Jan Nijtmans
    Jan Nijtmans
    2008-11-05

    fixed in tkUnixFont.c 1.38

     
  • Jan Nijtmans
    Jan Nijtmans
    2008-11-05

    fixed in tkUnixFont.c 1.38