Review Request 115344: With MSVC M_PI only gets defined if _USE_MATH_DEFINES is defined

Andrius da Costa Ribas andriusmao at gmail.com
Mon Jan 27 21:36:45 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115344/#review48418
-----------------------------------------------------------


We use to do so in the CMake files (as more than one source file may use it).

- Andrius da Costa Ribas


On Jan. 27, 2014, 9:32 p.m., Alexander Richardson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115344/
> -----------------------------------------------------------
> 
> (Updated Jan. 27, 2014, 9:32 p.m.)
> 
> 
> Review request for KDE Frameworks and kdewin.
> 
> 
> Repository: kunitconversion
> 
> 
> Description
> -------
> 
> With MSVC M_PI only gets defined if _USE_MATH_DEFINES is defined
> 
> Is it okay to put the define in the source file, or should I rather put it in the CMake code?
> 
> 
> Diffs
> -----
> 
>   src/angle.cpp 4df1981930e6459a7d2486caffaee6fd439976d0 
> 
> Diff: https://git.reviewboard.kde.org/r/115344/diff/
> 
> 
> Testing
> -------
> 
> didn't compile before, does now
> 
> 
> Thanks,
> 
> Alexander Richardson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20140127/2122299f/attachment.html>


More information about the Kde-windows mailing list