You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/07/06 14:08:03 UTC

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 opened a new pull request #327: testing/cxxtest: Fix the compiler warning

xiaoxiang781216 opened a new pull request #327:
URL: https://github.com/apache/incubator-nuttx-apps/pull/327


   ## Summary
   cxxtest_main.cxx: In function ‘void test_rtti()’:
   cxxtest_main.cxx:199:3: warning: deleting object of polymorphic class type ‘Base’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
     199 |   delete a;
         |   ^~~~~~~~
   cxxtest_main.cxx:200:3: warning: deleting object of polymorphic class type ‘Base’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
     200 |   delete b;
   
   ## Impact
   No.
   
   ## Testing
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx-apps] Ouss4 merged pull request #327: testing/cxxtest: Fix the compiler warning

Posted by GitBox <gi...@apache.org>.
Ouss4 merged pull request #327:
URL: https://github.com/apache/incubator-nuttx-apps/pull/327


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org