[xsd-users] Re: Compilation options -Aa and -AA

Samiksha Rajput samiksha.rajput at tcs.com
Thu Jun 28 00:45:11 EDT 2007


Hi Boris,

As per your advice that we need to recompile our code components with -AA 
option but the problem in this is it will have huge impact and its a
huge distributed  model and hence changing it at my side will have impact 
at different sides , which is not manageable.

So can support group provide us any solution for compiling xsd tool with 
-Aa option.
Or can you give us how can we make the changes in xsd tool so that we can 
compile it with -Aa option and 
can you tell us what are the components that need  to be changed or 
affected by this shift from -AA to -Aa compilation option.

Thanks and Regards.

Samiksha Vijaysinha Rajput
Tata Consultancy Services
Mailto: samiksha.rajput at tcs.com
Website: http://www.tcs.com



Boris Kolpackov <boris at codesynthesis.com> 
06/27/2007 12:48 PM

To
Samiksha Rajput <samiksha.rajput at tcs.com>
cc
xsd-users at codesynthesis.com
Subject
Re: Compilation options -Aa and -AA






Hi Samiksha,

Samiksha Rajput <samiksha.rajput at tcs.com> writes:

> As per your below attached solution you suggested that to (re)compile my
> application with -AA.
> But as my application is huge and is distributed at various places
> changing my application will have very huge impact.

I am not entirely sure, but from the aCC man pages it sounds like all you
may need is to recompile your code with -AA instead of -Aa. At least you
could give it a try and see if any source code changes are necessary.

> So is there any older version of xsd tool  available with build option 
as
> -Aa  or which can support the -Aa build option?
> Or Is there any workaround going on for supporting  -Aa building option 
?

No, I am afraid not. XSD was designed from the beginning to rely on
ANSI C++ (that is the reason why it works with such a wide range of
C++ compilers). If we change it to support -Aa it will automatically
break support for all other compilers.

The only other option that I can think of is to use XSD/e[1], our embedded
systems offering. I am sure it can work with -Aa in minimal configuration
(without STL, etc.). However, XSD/e only supports the stream-oriented
C++/Parser mapping. If you would like to explore this venue then I suggest
that you read through the Getting Started Guide[2] and see if it will be
appropriate for your application:


[1] http://www.codesynthesis.com/products/xsde/
[2] 
http://www.codesynthesis.com/projects/xsde/documentation/cxx/parser/guide/


hth,
-boris

ForwardSourceID:NT00007E1A 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you





More information about the xsd-users mailing list