You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2009/09/17 01:15:57 UTC

[jira] Created: (MAPREDUCE-991) HadoopPipes.cc doesn't compile cleanly with SunStudio

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:

     [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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.