Re: [PATCH 1/3] remove usage of 'c_plusplus' preprocessor macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7 August 2015 at 13:11, Thierry Reding <thierry.reding@xxxxxxxxx> wrote:
> On Fri, Aug 07, 2015 at 10:37:56AM +0300, Tapani Pälli wrote:
>> Use only __cplusplus which is supported by the C++ standard.
>>
>> Signed-off-by: Tapani Pälli <tapani.palli@xxxxxxxxx>
>> ---
>>  libkms/libkms.h | 4 ++--
>>  xf86drm.h       | 4 ++--
>>  xf86drmMode.h   | 4 ++--
>>  3 files changed, 6 insertions(+), 6 deletions(-)
>
> This looks fine to me, I can't find any mention of c_plusplus on the
> internet. Let's see what Laurent says, who added this in commit:
>
The only reference I could find was in Oracle's documentation, which
says that it was used in ancient versions of the C++ standard [1]. On
the question of why I believe you've answered is perfectly -
copy'n'paste FTW ;-)

Cheers,
Emil

[1] http://docs.oracle.com/cd/E19422-01/819-3689/Ch6.Diff.C_C++.html
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux