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

Submitted by:  Stéphane ARQUER <arquers>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

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)
  •  

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

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5