Author Topic: extra const shown for variable  (Read 3778 times)

davehohl

  • Senior Community Member
  • Posts: 271
  • Hero Points: 27
extra const shown for variable
« on: May 27, 2011, 08:31:47 PM »
I have a C++ variable that is declared as static char * const payload_start.  When I hover over it SE shows its type to be  const char * const.  This implies that the char object being pointed to is constant, which is not the case.  See attached screen shot.

SlickEdit 2011 (v16.0.0.6 32-bit)

Licensed number of users: Single user
License file: C:\Documents and Settings\All Users\Application Data\slickedit\16\slickedit.lic

Build Date: May 05, 2011
Emulation: CUA

OS: Windows XP
OS Version: 5.01.2600  Service Pack 3
Memory: 76% Load, 1555MB/2045MB Physical, 1515MB/3938MB Page File, 204MB/2047MB Virtual
Shell Info: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1200

Project Type: Cpp
Language: .c (C/C++)

Installation Directory: C:\Program Files\SlickEditV16.0.0\ (non-removable drive,NTFS,108522MB free)
Configuration Directory: U:\MyDocs\My SlickEdit Config\16.0.0\ (remote,NTFS,241811MB free)

Hotfixes:
U:\MyDocs\My SlickEdit Config\16.0.0\hotfixes\hotfix_se1600_1_cumulative.zip (Revision: 1)






Dennis

  • Senior Community Member
  • Posts: 3998
  • Hero Points: 521
Re: extra const shown for variable
« Reply #1 on: May 31, 2011, 02:26:02 PM »
I put in a quick fix for this, it will go into the next major update.  It's is not major enough include in the hot fix.

davehohl

  • Senior Community Member
  • Posts: 271
  • Hero Points: 27
Re: extra const shown for variable
« Reply #2 on: May 31, 2011, 03:54:47 PM »
Thanks for the quick response!