Synchronization with MISRA C 2012

Moderators: david ward, misra cpp

Post Reply
dg1980
Posts: 109
Joined: Wed Apr 27, 2016 2:33 pm
Company: Elektrobit Automotive GmbH

Synchronization with MISRA C 2012

Post by dg1980 » Wed Sep 21, 2016 1:27 pm

Dear MISRA team,

i recently stumbled upon Rule 21.9 of MISRA C 2012 which prohibits use of bsearch/qsort.
Currently, there is no equivalent in MISRA C++ 2008, so it would be legal to use bsearch/qsort in C++ (if you use cstdlib that is).
Maybe this is another synchronization topic for the next version of the standard (along with the preprocessor usage, see https://misra.org.uk/forum/viewtopic.ph ... 1549#p3031).
Thanks.

misra cpp
Posts: 150
Joined: Mon Jun 02, 2008 1:55 pm
Company: MISRA

Re: Synchronization with MISRA C 2012

Post by misra cpp » Tue Oct 11, 2016 11:17 am

Work is currently under way on a new version of MISRA C++ document. One of its aims is to update the guidelines to bring them inline with the revised guidance in MISRA C:2012
Posted by and on behalf of
the MISRA C++ Working Group

Post Reply

Return to “6.18 Language support library (C++)”