bugKimwitu++ - Bugs: bug #32499, <cstring> must be #include-d...

 
 

bug #32499: <cstring> must be #include-d in the generated k.h

Submitter:  None
Submitted:  Wed 16 Feb 2011 05:25:44 AM UTC
   
 
Category:  code generation Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 16 Feb 2011 05:25:44 AM UTC, original submission:  

Using g++ 4.4.0 on Ubuntu 10.10/i686, I get errors like the following because the <cstring> header is not included in kimwitu++ generated files:

k.cc:1674: error: ‘strcpy’ was not declared in this scope
k.cc:1680: error: ‘strlen’ was not declared in this scope
k.cc:1680: error: ‘strncat’ was not declared in this scope
k.cc:1683: error: ‘strlen’ was not declared in this scope
k.cc:1683: error: ‘strncat’ was not declared in this scope
k.cc:1686: error: ‘strlen’ was not declared in this scope
k.cc:1686: error: ‘strncat’ was not declared in this scope

Manually including <cstring> in k.h fixes the problem.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code