#647: [PATCH] src/call/pcc.c compile on hpux
----------------------+-----------------------------------------------------
 Reporter:  rrauenza  |        Type:  patch 
   Status:  new       |    Priority:  normal
Milestone:            |   Component:  none  
  Version:            |    Severity:  medium
 Keywords:            |        Lang:        
    Patch:            |    Platform:        
----------------------+-----------------------------------------------------

Comment(by rrauenza):

 "src/call/pcc.c", line 2475: error #2041: expression must have arithmetic
 or
           pointer type
       ASSERT_ARGS(set_context_sig_returns_varargs)
       ^

 1 error detected in the compilation of "src/call/pcc.c".
 make: *** [src/call/pcc.o] Error 2

 If I preprocess it, and split the assert across more than one line,

 [email protected] $ cc bar3.c
 "src/call/pcc.c", line 951: warning #2940-D: missing return statement at
 end
           of non-void function "Parrot_fetch_arg"
   }
   ^

 "src/call/pcc.c", line 2479: error #2041: expression must have arithmetic
 or
           pointer type
        || ((returns) ? (0) : (Parrot_confess("returns", "src/call/pcc.c",
 2475), 0)) ;
            ^

 1 error detected in the compilation of "bar3.c".
 [email protected] $

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/647#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to