[ 
https://issues.apache.org/jira/browse/HAWQ-625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lili Ma updated HAWQ-625:
-------------------------
    Description: 
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}

  was:The function is declared at end of file, but referenced before the 
declaration. Should declare the function first.

        Summary: Fix build failure on MAC for the fix of HAWQ-462.   (was: Fix 
build failure on MAC for the fix)

> 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