Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Issue 2022793002: Fix compile error ‘isnan’ was not declared in this scope (Closed)

Created:
4 years, 6 months ago by Paweł Hajdan Jr.
Modified:
4 years, 6 months ago
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Fix compile error ‘isnan’ was not declared in this scope BUG=none Committed: https://pdfium.googlesource.com/pdfium/+/f02f7e58b56b324d352322335636b3bf44d961d8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -4 lines) Patch
M xfa/fxbarcode/utils.h View 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2022793002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2022793002/1
4 years, 6 months ago (2016-05-30 15:01:17 UTC) #2
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. CQ run can only be started ...
4 years, 6 months ago (2016-05-30 15:01:18 UTC) #4
Paweł Hajdan Jr.
This is the full compile error I was getting: FAILED: obj/third_party/pdfium/xfa/fxbarcode/qrcode/xfa.BC_QRFinderPatternFinder.o x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/pdfium/xfa/fxbarcode/qrcode/xfa.BC_QRFinderPatternFinder.o.d ...
4 years, 6 months ago (2016-05-30 15:02:52 UTC) #6
Lei Zhang
What's the build environment where this is failing? Does this sample program work? ---- #include ...
4 years, 6 months ago (2016-05-30 19:32:30 UTC) #7
jochen (gone - plz use gerrit)
On 2016/05/30 at 19:32:30, thestig wrote: > What's the build environment where this is failing? ...
4 years, 6 months ago (2016-05-30 19:38:11 UTC) #8
Lei Zhang
On 2016/05/30 19:38:11, jochen wrote: > Why not use std::isnan everywhere? I'm curious why isnan() ...
4 years, 6 months ago (2016-05-30 19:56:31 UTC) #9
jochen (gone - plz use gerrit)
On 2016/05/30 at 19:56:31, thestig wrote: > On 2016/05/30 19:38:11, jochen wrote: > > Why ...
4 years, 6 months ago (2016-05-30 20:02:10 UTC) #10
Lei Zhang
On 2016/05/30 20:02:10, jochen wrote: > On 2016/05/30 at 19:56:31, thestig wrote: > > On ...
4 years, 6 months ago (2016-05-30 20:23:38 UTC) #11
Paweł Hajdan Jr.
On 2016/05/30 at 19:32:30, thestig wrote: > What's the build environment where this is failing? ...
4 years, 6 months ago (2016-05-31 08:29:24 UTC) #12
Lei Zhang
lgtm I can reproduce this with g++ 5.3.1 on Ubuntu 16.04 as well. Looks like ...
4 years, 6 months ago (2016-05-31 18:59:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2022793002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2022793002/1
4 years, 6 months ago (2016-05-31 18:59:18 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://pdfium.googlesource.com/pdfium/+/f02f7e58b56b324d352322335636b3bf44d961d8
4 years, 6 months ago (2016-05-31 19:20:41 UTC) #17
Lei Zhang
4 years, 6 months ago (2016-05-31 20:10:12 UTC) #18
Message was sent while issue was closed.
On 2016/05/31 18:59:15, Lei Zhang wrote:
> I can reproduce this with g++ 5.3.1 on Ubuntu 16.04 as well. Looks like there
> wass a conflict between isnan() and std::isnan(), so now when <cmath> is
> included, isnan() does not get defined in math.h.

FWIW, I then built PDFium without this CL on the same Ubuntu 16.04 machine, but
didn't hit this problem. *shrug*

Powered by Google App Engine
This is Rietveld 408576698