[aspectc-user] __declspec issues

John Hawkins HAWKINSJ at uk.ibm.com
Thu Aug 19 12:29:46 CEST 2004




Yep, that's the code alright :-((

This is going to scupper the Axis C++ projects use of AspectC++ in that
case (very sad :-(

If I create  bug report what's the next step -  are you guys working on
this stuff permanently, would you ignore this because it's a v 6.0 issue
(don't know if it's a v7 issue)?


thanks,
John.






                                                                           
             Matthias Urban                                                
             <matthias.urban at p                                             
             ure-systems.com>                                           To 
                                       John Hawkins/UK/IBM at IBMGB           
             19/08/2004 11:23                                           cc 
                                       aspectc-user                        
                                       <aspectc-user at aspectc.org>          
             Please respond to                                     Subject 
               aspectc-user            Re: [aspectc-user] __declspec       
                                       issues                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi John,


> Oh Dear - I think I might have got another MS specific issue.
>
> Its now complaining about
>
> c:/progra~1/micros~2/vc98/include/rpcdce.h:169: error: invalid
declaration
> near
> token `RPC_IF_CALLBACK_FN'
>
> Which appears to be a MS'ism ->
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rpc/rpc/rpc_if_callback_fn.asp

>
> Any clues as to how to get around this one (without using the purchased
> system?


Does the corresponding source code look like this?


typedef RPC_STATUS RPC_ENTRY
RPC_IF_CALLBACK_FN (
     IN RPC_IF_HANDLE  InterfaceUuid,
     IN void *Context
     ) ;


If so, I also can't say what's going wrong. It can only be that
RPC_STATUS and RPC_ENTRY resolve to nothing (which is a syntax error in
C++) or IN resolves to something MS specific that our parser doesn't
understand.


Matthias

--
Matthias Urban                          Phone: +49-391-544569-32
pure-systems GmbH                       Fax:   +49-391-544569-90






More information about the aspectc-user mailing list