<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Dear Kevin,</div>
<div>thank you very much for your investigation. Indeed the Installer fixed the problem and I am really happy about the new Release. It is nice working with it!</div>
<div>Concerning my fault yes, you're right, it should be MyFirstModel and I changed that.</div>
<div> </div>
<div>Have a nice day and greetings from Germany,</div>
<div>Dominik</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="dominik.giel@gmx.de" target="_parent">dominik.giel@gmx.de</a></div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 04. November 2014 um 18:23 Uhr<br/>
<b>Von:</b> "Kevin Smyth" <ksmyth@isis.vanderbilt.edu><br/>
<b>An:</b> "A list for GReAT users to share bugs, fixes and ideas" <great-users@list.isis.vanderbilt.edu><br/>
<b>Betreff:</b> Re: [great-users] Udm::null wrongly placed VC10 Code Generator</div>
<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">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" target="_blank">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/>
<div class="moz-cite-prefix">On 11/4/2014 9:35 AM, Dominik Giel wrote:</div>
<blockquote>
<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 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="dominik.giel@gmx.de" target="_parent">dominik.giel@gmx.de</a></div>
<div> </div>
</div>
<fieldset class="mimeAttachmentHeader"> </fieldset>
<pre>_______________________________________________
great-users mailing list
<a class="moz-txt-link-abbreviated" href="great-users@list.isis.vanderbilt.edu" target="_parent">great-users@list.isis.vanderbilt.edu</a>
<a class="moz-txt-link-freetext" href="http://list.isis.vanderbilt.edu/mailman/listinfo/great-users" target="_blank">http://list.isis.vanderbilt.edu/mailman/listinfo/great-users</a>
</pre>
</blockquote>
<br/>
_______________________________________________ great-users mailing list great-users@list.isis.vanderbilt.edu <a href="http://list.isis.vanderbilt.edu/mailman/listinfo/great-users" target="_blank">http://list.isis.vanderbilt.edu/mailman/listinfo/great-users</a></div>
</div>
</div>
</div>
</div></div></body></html>