[
https://issues.apache.org/jira/browse/MAPREDUCE-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated MAPREDUCE-991:
---------------------------------------
Description:
Attempting to compile HadoopPipes.cc throws the following warnings and errors:
{noformat}
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 663: Warning: protocol hides HadoopPipes::TaskContextImpl::protocol.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 844: Warning: status hides HadoopPipes::TaskContextImpl::status.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 871: Warning: key hides HadoopPipes::TaskContextImpl::key.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 871: Warning: value hides HadoopPipes::TaskContextImpl::value.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 943: Error: The function "sleep" must have a prototype.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 961: Error: The function "close" must have a prototype.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 1037: Warning (Anachronism): Formal argument 3 of type extern "C"
void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*,
extern "C" void*(*)(void*), void*) is being passed void*(*)(void*).
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 1057: Error: The function "close" must have a prototype.
{noformat}
was:
Attempting to compile HadoopPipes.cc throws the following warnings and errors:
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 663: Warning: protocol hides HadoopPipes::TaskContextImpl::protocol.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 844: Warning: status hides HadoopPipes::TaskContextImpl::status.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 871: Warning: key hides HadoopPipes::TaskContextImpl::key.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 871: Warning: value hides HadoopPipes::TaskContextImpl::value.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 943: Error: The function "sleep" must have a prototype.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 961: Error: The function "close" must have a prototype.
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 1037: Warning (Anachronism): Formal argument 3 of type extern "C"
void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*,
extern "C" void*(*)(void*), void*) is being passed void*(*)(void*).
[exec]
"/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
line 1057: Error: The function "close" must have a prototype.
> HadoopPipes.cc doesn't compile cleanly with SunStudio
> -----------------------------------------------------
>
> Key: MAPREDUCE-991
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-991
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Allen Wittenauer
>
> Attempting to compile HadoopPipes.cc throws the following warnings and errors:
> {noformat}
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 663: Warning: protocol hides HadoopPipes::TaskContextImpl::protocol.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 844: Warning: status hides HadoopPipes::TaskContextImpl::status.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 871: Warning: key hides HadoopPipes::TaskContextImpl::key.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 871: Warning: value hides HadoopPipes::TaskContextImpl::value.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 943: Error: The function "sleep" must have a prototype.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 961: Error: The function "close" must have a prototype.
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 1037: Warning (Anachronism): Formal argument 3 of type extern "C"
> void*(*)(void*) in call to pthread_create(unsigned*, const _pthread_attr*,
> extern "C" void*(*)(void*), void*) is being passed void*(*)(void*).
> [exec]
> "/export/home/awittena/src/hadoop-0.20.0/src/c++/pipes/impl/HadoopPipes.cc",
> line 1057: Error: The function "close" must have a prototype.
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.