Hi Sebastien,

I'm getting a build failure on windows (VC7) dur to the new-style
logging stuff you've put in:
../../../runtime\core\src\tuscany\sca\util\Logging.h(35) : error
C2010: '.' : unexpected in macro formal parameter list

I think this is due to the VC7 compiler not supporting variable-arg
macros - doing a search for the error throws up this post:
http://www.codeguru.com/forum/showthread.php?t=318438 which states at
the bottom that "macros with variable arguments are not supported by
ANSI C++.". There is a suggested workaround that we could use which
requires the arguments to be parenthesized:

#define FUNC(foo)  ThisFunc foo

void ThisFunc(int, ...);

int main()
{
   FUNC((123, 456));
}

What do you think?

Cheers
Andrew


On 11/12/06, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:
Pete Robbins wrote:
> Sebastien,
>
> Go ahead and commit the changes. I'll review them once committed. The
> logging changes sound good.
>
> I'm pretty sure the xsi:type writing has been fixed (many times!) so I'd
> like to look at the latest change.
>
> Cheers and good luck!
>

Pete, Thanks for helping review this. I've been able to merge with no
major conflict so I'm going to commit the SCA changes.

A minor change to SDORuntimeException has been committed under revision
r473864.

The other SDO changes to the XML writer and parser are isolated in two
patches attached to JIRAs TUSCANY-919 and TUSCANY-920.

Thanks

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to