<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Dominik,<br>
<br>
Thanks for the minimal example.<br>
<br>
That looks like a bug. Please let me know if this installer fixes
it:<br>
<a class="moz-txt-link-freetext" href="http://repo.isis.vanderbilt.edu/GReAT/GReAT_setup.exe">http://repo.isis.vanderbilt.edu/GReAT/GReAT_setup.exe</a><br>
(Uninstall your current GReAT first)<br>
<br>
The generated code should now be ..."= &Udm::_null"<br>
<br>
<br>
It looks like there is a separate error in your transform: RuleTwo's
MyFirstFCO should be MyFirstModel instead.<br>
<br>
Kevin<br>
<br>
<div class="moz-cite-prefix">On 11/4/2014 9:35 AM, Dominik Giel
wrote:<br>
</div>
<blockquote
cite="mid:trinity-c80e5829-9362-4bc1-a209-440dcf618271-1415115315878@3capp-gmx-bs41"
type="cite">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Dear Users of GReAT,</div>
<div>dear Kevin Smyth,</div>
<div>today I discovered a strange behaviour of the VC 10 Code
Generator.</div>
<div>When I want to delete a Reference between a Reference and a
Model the VC10 GReAT Code Generator generates the code
xxx.ref() = Udm::null. (Line 159)</div>
<div>Visual Studio detects this as an error. By simply changing
Udm::null to NULL, the code can be compiled and is working
properly.</div>
<div> </div>
<div>I made a small example in this ZIP-File: <a
moz-do-not-send="true"
href="https://3c.gmx.net/mail/client/dereferrer?redirectUrl=http%3A%2F%2Fwww.ils.uni-stuttgart.de%2FUDM_NULL.zip"
target="_blank">www.ils.uni-stuttgart.de\UDM_NULL.zip</a></div>
<div> </div>
<div>If you open the file Gen\GenRootFolder_main.cpp and scroll
to line 159 you can discover the issue. The transformation
just wants to delete the Reference.</div>
<div>It is in RuleThree between a FCO and the Reference and I
discovered the issue also with another transformation.</div>
<div> </div>
<div>I would be pleased, if you can help me regarding that. Is
the behaviour of the CodeGenerator as you expect it to be and
am I doing something wrong?</div>
<div> </div>
<div>Thanks in advance,</div>
<div>Dominik Giel</div>
<div> </div>
<div> </div>
<div><strong>Dominik Giel</strong></div>
<div>Institut für Luftfahrtsysteme</div>
<div>Universität Stuttgart</div>
<div><a class="moz-txt-link-abbreviated" href="mailto:dominik.giel@gmx.de">dominik.giel@gmx.de</a></div>
<div> </div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
great-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:great-users@list.isis.vanderbilt.edu">great-users@list.isis.vanderbilt.edu</a>
<a class="moz-txt-link-freetext" href="http://list.isis.vanderbilt.edu/mailman/listinfo/great-users">http://list.isis.vanderbilt.edu/mailman/listinfo/great-users</a>
</pre>
</blockquote>
<br>
</body>
</html>