bugKimwitu++ - Bugs: bug #2285, kc_tag_abstract_phylum::copy const...

 
 

bug #2285: kc_tag_abstract_phylum::copy const warning

Submitted by:  None
Submitted on:  Mon 20 Jan 2003 10:03:57 PM UTC  
 
Category: code generationSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Michael Piefel <piefel>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 20 Jan 2003 10:04:08 PM UTC, comment #3:

Fri, 16 Nov 2001 10:01:12 GMT
Mike: Compile all stuff with much more warnings on, please.

Michael Piefel <piefel>
Project AdministratorIn charge of this item.
Mon 20 Jan 2003 10:04:06 PM UTC, comment #2:

Tue, 20 Nov 2001 09:48:47 GMT
Fixed in 2.1.2

Michael Piefel <piefel>
Project AdministratorIn charge of this item.
Mon 20 Jan 2003 10:04:03 PM UTC, comment #1:

piefel Fri, 16 Nov 2001 10:01:12 GMT assigned_to 100
piefel Tue, 20 Nov 2001 09:48:47 GMT status_id 1
piefel Tue, 20 Nov 2001 09:48:47 GMT resolution_id 100
piefel Tue, 20 Nov 2001 09:48:47 GMT close_date 0

Anonymous
Mon 20 Jan 2003 10:03:57 PM UTC, original submission:

Submitter: schroed2
Original-Id: 134
Date: Fri, 16 Nov 2001 09:19:37 GMT
abstract_phylum kc_tag_abstract_phylum::copy(bool kc_copy_attributes) const
{
...
if (kc_phy == kc_phylum_casestring) {
kc_answer=mkcasestring(((casestring)this)->name);
} ...

should be replaced by a const cast (this is cobnst here).

k.cxx:31743: warning: cast discards qualifiers from pointer target type
k.cxx:31745: warning: cast discards qualifiers from pointer target type
k.cxx:31747: warning: cast discards qualifiers from pointer target type
k.cxx:31749: warning: cast discards qualifiers from pointer target type
k.cxx:31751: warning: cast discards qualifiers from pointer target type

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 20 Jan 2003 10:04:12 PM UTCpiefelOpen/ClosedOpen=>(Error - Not Found)
  StatusNone=>(Error - Not Found)
  Assigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1