[
https://issues.apache.org/jira/browse/TS-3607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570650#comment-14570650
]
ASF GitHub Bot commented on TS-3607:
------------------------------------
GitHub user caguado opened a pull request:
https://github.com/apache/trafficserver/pull/210
TS-3607: Fix ats_pagespeed to use stdint.h macros
This commit adds _STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS to
fix the missing macros defined in stdint.h when building a C++ source
code.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/caguado/trafficserver fix/pagespeed_build
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/210.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #210
----
commit 6db71f944e3a2df660d0fd58b1bf5f7c793bf011
Author: Carlos Aguado <[email protected]>
Date: 2015-06-03T10:51:54Z
TS-3607: Fix ats_pagespeed to use stdint.h macros
This commit adds _STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS to
fix the missing macros defined in stdint.h when building a C++ source
code.
----
> ats_pagespeed make error
> ------------------------
>
> Key: TS-3607
> URL: https://issues.apache.org/jira/browse/TS-3607
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Sebastian Pesman
> Assignee: Otto van der Schaaf
> Fix For: 6.0.0
>
>
> When compiling ats_pagespeed from the current master git
> /tmp/trafficserver/plugins/experimental/ats_pagespeed the make process
> results in an error.
> The error:
> ats_pagespeed.cc: In function 'void ats_transform_init(TSCont,
> TransformCtx*)':
> ats_pagespeed.cc:485:109: error: 'INT64_MAX' was not declared in this scope
> ctx->downstream_vio = TSVConnWrite(downstream_conn, contp,
> TSIOBufferReaderAlloc(ctx->downstream_buffer), INT64_MAX);
>
> ^
> make: *** [ats_pagespeed.so] Error 1
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)