hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-991) HadoopPipes.cc doesn't compile cleanly with SunStudio
Date Wed, 16 Sep 2009 23:15:57 GMT
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.


Mime
View raw message