[ 
https://issues.apache.org/jira/browse/HAWQ-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15225597#comment-15225597
 ] 

ASF GitHub Bot commented on HAWQ-625:
-------------------------------------

GitHub user ictmalili opened a pull request:

    https://github.com/apache/incubator-hawq/pull/554

    HAWQ-625. Fix the build failure on MAC: function referenced before de…

    …claration

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ictmalili/incubator-hawq HAWQ-625

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq/pull/554.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 #554
    
----
commit df5337c26f052f6b0dbc1a02b389ef30a9e9bfa4
Author: Lili Ma <[email protected]>
Date:   2016-04-05T03:17:41Z

    HAWQ-625. Fix the build failure on MAC: function referenced before 
declaration

----


> Fix build failure on MAC for the fix of HAWQ-462. 
> --------------------------------------------------
>
>                 Key: HAWQ-625
>                 URL: https://issues.apache.org/jira/browse/HAWQ-625
>             Project: Apache HAWQ
>          Issue Type: Sub-task
>          Components: External Tables, Hcatalog, PXF
>            Reporter: Lili Ma
>            Assignee: Lei Chang
>             Fix For: 2.0.0
>
>
> The function is declared at end of file, but referenced before the 
> declaration. Should declare the function first.
> {code}
> cdbquerycontextdispatching.c:3026:1: error: conflicting types for 
> 'prepareDfsAddressForDispatch'
> prepareDfsAddressForDispatch(QueryContextInfo* cxt)
> ^
> cdbquerycontextdispatching.c:1777:3: note: previous implicit declaration is 
> here
>                 prepareDfsAddressForDispatch(cxt);
>                 ^
> 2 warnings and 1 error generated.
> make[3]: *** [cdbquerycontextdispatching.o] Error 1
> make[2]: *** [cdb-recursive] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to