Axis-C++
  1. Axis-C++
  2. AXISCPP-591

FaultMappingRepeatedDoc - Client Compilation - FAILED

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 Final
    • Fix Version/s: 1.5 Final
    • Component/s: Client - Stub
    • Labels:
      None

      Description

      It fail to compile the client code. Give following error.

      [cc] 5 total files to be compiled.
      [cc] FaultMappingRepeatedDocClient.cpp
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(56) : error C2065: 'cout' : undeclared identifier
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(56) : error C2065: 'endl' : undeclared identifier
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(56) : warning C4552: '<<' : operator has no effect; expected ope
      rator with side-effect
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(72) : error C2297: '<<' : illegal, right operand has type 'char
      [11]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(74) : error C2297: '<<' : illegal, right operand has type 'char
      [11]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(80) : error C2297: '<<' : illegal, right operand has type 'char
      [25]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(91) : error C2297: '<<' : illegal, right operand has type 'char
      [29]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(99) : error C2297: '<<' : illegal, right operand has type 'char
      [26]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(110) : error C2297: '<<' : illegal, right operand has type 'char
      [21]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(130) : error C2297: '<<' : illegal, right operand has type 'char
      [17]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(135) : error C2297: '<<' : illegal, right operand has type 'char
      [20]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(139) : error C2297: '<<' : illegal, right operand has type 'char
      [24]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(147) : error C2297: '<<' : illegal, right operand has type 'char
      [19]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(149) : error C2297: '<<' : illegal, right operand has type 'char
      [67]'
      [cc] C:\obj\test\generated\cpp\FaultMappingRepeatedDoc\FaultMappingRepeat
      edDocClient.cpp(156) : error C2297: '<<' : illegal, right operand has type 'char
      [17]'
      [cc] MathOps.cpp
      [cc] DivByZeroStruct.cpp
      [cc] OutOfBoundStruct.cpp
      [cc] SpecialDetailStruct.cpp
      [cc] Generating Code...
      [cc] cl failed with return code 2

      callCompileLinkedClient:

      compileClient:

      validateClientCompilationIfBuilding:
      [echo] FaultMappingRepeatedDoc - Client Compilation - FAILED

        Activity

        Hide
        Chinthana Danapala added a comment -

        I have done some modifications it's now compiling.

        Index: FaultMappingRepeatedDocClient.cpp
        ===================================================================
        RCS file: /home/cvspublic/ws-axis/c/tests/auto_build/testcases/client/cpp/FaultM
        appingRepeatedDocClient.cpp,v
        retrieving revision 1.4
        diff -u -r1.4 FaultMappingRepeatedDocClient.cpp
        — FaultMappingRepeatedDocClient.cpp 23 Mar 2005 15:45:06 -0000 1.4
        +++ FaultMappingRepeatedDocClient.cpp 30 Mar 2005 09:17:01 -0000
        @@ -20,6 +20,7 @@
        #include <iostream>

        void sig_handler(int);
        +using namespace std;

        int main(int argc, char* argv[])
        {

        Show
        Chinthana Danapala added a comment - I have done some modifications it's now compiling. Index: FaultMappingRepeatedDocClient.cpp =================================================================== RCS file: /home/cvspublic/ws-axis/c/tests/auto_build/testcases/client/cpp/FaultM appingRepeatedDocClient.cpp,v retrieving revision 1.4 diff -u -r1.4 FaultMappingRepeatedDocClient.cpp — FaultMappingRepeatedDocClient.cpp 23 Mar 2005 15:45:06 -0000 1.4 +++ FaultMappingRepeatedDocClient.cpp 30 Mar 2005 09:17:01 -0000 @@ -20,6 +20,7 @@ #include <iostream> void sig_handler(int); +using namespace std; int main(int argc, char* argv[]) {
        Hide
        Samisa Abeysinghe added a comment -

        Patch applied

        Show
        Samisa Abeysinghe added a comment - Patch applied

          People

          • Assignee:
            Samisa Abeysinghe
            Reporter:
            Chinthana Danapala
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development