bugTransport Sample Protocol - Bugs: bug #22892, Bb_core_posix.c:185: void value...

 
 

bug #22892: Bb_core_posix.c:185: void value doen't ignored as it should be

Submitter:  Stéphane ARQUER <arquers>
Submitted:  Thu 10 Apr 2008 03:03:37 PM UTC
   
 
Category:  None Severity:  3 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Release:  * 0.8.3 Fixed Release:  * 0.8.3
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 10 Apr 2008 03:03:37 PM UTC, original submission:  

When compiling tsp with option BUILD_POSIX_BB, the following error occurs :

Bb_core_posix.c:185: void value doesn't ignored

Error found:
retcode = free((char *)*bb);

free function returns void .

Proposed solution:
#if defined(_rtems_)
retcode = shm_unlink((char *)*bb);
#else
free((char *)*bb);
#endif


Stéphane ARQUER <arquers>

 

(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

 

Carbon-Copy List
  • -email is unavailable- added by arquers (Submitted the item)
  •  

    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.14-f13d.
    Corresponding source code