Dear maintainer,

       As you can see in the pictures, the commit 98e688a9da5e7b2925dda17a2d6820dddf1fb287 modified the codes related to macro __cpluscplus.

During my usage of musl, I found that if the macro __cplusplus had not been defined, the compilation will fail, and report error on __cplusplus. I am very puzzled about this commit, I think this modification doesn’t take the condition that the __cplusplus hasn’t been defined into consideration. I’m eager to know why.

       In order to continue my job immediately, I modify the codes like the picture below. As far as I’m concerned, before using __cpluscplus, we should judge whether it has been defined. Attached is my full patch.

I’m looking forward to your reply.

 

Wish Pu

OS kernel lab