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: NoneSeverity: 3 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 0.8.3Fixed 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1