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

Rahul Iyer closed MADLIB-859.
-----------------------------

> modules/stats/t_test.cpp: declaration of ‘char* mkdtemp(char*)’ has a 
> different exception specifier
> ---------------------------------------------------------------------------------------------------
>
>                 Key: MADLIB-859
>                 URL: https://issues.apache.org/jira/browse/MADLIB-859
>             Project: Apache MADlib
>          Issue Type: Bug
>            Reporter: Yuhui Dong
>            Assignee: Caleb Welton
>            Priority: Blocker
>              Labels: TriagePending
>
> Enviornment:
> PostgreSQL 9.3.5
> Ubuntu 14.04
> gcc/g++ 4.8
> Failed with make under build directory, got errors as:
> ------------------
> [  1%] Built target EP_boost
> [  2%] Built target EP_eigen
> [  3%] Built target EP_pyxb
> [  3%] Built target pythonFiles
> [  3%] Built target sqlFiles
> [  3%] Built target madlibPatches
> [  8%] Built target madpackFiles
> [  8%] Built target binaryFiles
> [  9%] Built target configFiles
> [ 30%] Built target sqlFiles_postgresql
> Scanning dependencies of target madlib_postgresql_9_3
> [ 30%] Building CXX object 
> src/ports/postgres/9.3/CMakeFiles/madlib_postgresql_9_3.dir/__/__/__/modules/stats/t_test.cpp.o
> In file included from /usr/include/postgresql/9.3/server/c.h:1019:0,
>                  from /usr/include/postgresql/9.3/server/postgres.h:47,
>                  from 
> /home/sioss/madlib-1.6.0/src/ports/postgres/dbconnector/dbconnector.hpp:18,
>                  from /home/sioss/madlib-1.6.0/src/modules/stats/t_test.cpp:9:
> /usr/include/postgresql/9.3/server/port.h:480:32: error: declaration of 
> ‘char* mkdtemp(char*)’ has a different exception specifier
>  extern char *mkdtemp(char *path);
>                                 ^
> In file included from /usr/include/postgresql/9.3/server/c.h:73:0,
>                  from /usr/include/postgresql/9.3/server/postgres.h:47,
>                  from 
> /home/sioss/madlib-1.6.0/src/ports/postgres/dbconnector/dbconnector.hpp:18,
>                  from /home/sioss/madlib-1.6.0/src/modules/stats/t_test.cpp:9:
> /usr/include/stdlib.h:663:14: error: from previous declaration ‘char* 
> mkdtemp(char*) throw ()’
>  extern char *mkdtemp (char *__template) __THROW __nonnull ((1)) __wur;
>               ^
> make[2]: *** 
> [src/ports/postgres/9.3/CMakeFiles/madlib_postgresql_9_3.dir/__/__/__/modules/stats/t_test.cpp.o]
>  Error 1
> make[1]: *** 
> [src/ports/postgres/9.3/CMakeFiles/madlib_postgresql_9_3.dir/all] Error 2
> make: *** [all] Error 2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to