You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/04/20 16:09:00 UTC

[GitHub] [mynewt-core] kasjer opened a new pull request #2574: i2s: Fix c/c++ _Alignas usage

kasjer opened a new pull request #2574:
URL: https://github.com/apache/mynewt-core/pull/2574


   _Alignas is c only keyword.
   C++ has alignas keyword.
   stdalign.h header should define alignas so it
   could be used in both.
   
   To be able to use i2s.h in c++, macro is provided when not present.
   
   placement of alignas() is also moved before static which seems to
   be a problem for g++.


-- 
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] [mynewt-core] apache-mynewt-bot commented on pull request #2574: i2s: Fix c/c++ _Alignas usage

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2574:
URL: https://github.com/apache/mynewt-core/pull/2574#issuecomment-823421952


   
   <!-- style-bot -->
   
   ## Style check summary
   
   #### No suggestions at this time!
   


-- 
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] [mynewt-core] kasjer merged pull request #2574: i2s: Fix c/c++ _Alignas usage

Posted by GitBox <gi...@apache.org>.
kasjer merged pull request #2574:
URL: https://github.com/apache/mynewt-core/pull/2574


   


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