| |
|
|
Clemens Meier | I wanted to my first DLL the Full Version produce and got (logischerweise ) following Error Message: CompileMarkSeparation suitable Lines in the CPP: CompileMarkSeparation evident becomes bemängelt, that these variables not declared get. In Profan any declared and the Test with the inspector yielded no Error. I use p2cpp 1.5a
Greeting |
|
|
| |
|
|
|
Clemens Meier | what me straight auffällt is: there's two Procedures, in both go variables declared, The partly The equal terms having. The first procedure becomes correctly Translated, first in the second procedure go The Error made. Ggf. takes p2cpp on, it lever itself around the equal Variables and declared tappt im dunkeln not any more new, or. setting no Variablentyp forth. |
|
|
| |
|
|
|
Sebastian König | Hi,
hmm... time bad, what there schiefläuft. usually ought to it no trouble his, if variables with equal names in different Procedures using (is Yes really completely normal and comes sure often to...)
can You a short Testcode post, with the itself the trouble understand can?
thanks,
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] Alte Profan²-Seite: [...] | 05/12/06 ▲ |
|
|
|
|
| Sorry, it shows that here now as Guest on, I me in a second Browser-Window inadvertently to the send ausgeloggt having -- Sebastian
I faith, I have a possible cause for the trouble straight found:
contains your code nested Procedures? means such a thing How CompileMarkSeparation usually recognize Profan2Cpp this and suggest, for Translation the Codes The option any variables global deklarieren To enable.
straight fell me however on, that The Verschachtelung in manchen situations evident not recognized becomes - when very and Why the lying, I have not yet figured out, unfortunately
functions it because correctly, if you into Übersetzungsoptionen any variables global deklarieren manually activate? |
|
|
| |
|
|
|
Clemens Meier | No, there's no verschachtelten Procedures. whether it with global deklarierten variables goes, can I not say. But well neither relevant. The Procedures walk under XProfan without trouble, go through whom + Edit without Error Message and with the Translation To CPP go no Error gemeldet. first with the Compilierung there The Problems. the CPP to that walk To bring would not difficult, one can The fehlende Deklaration Yes nachholen, still so is the Completed: p2cpp not yet resolved.
one behebt none bow, because one it bypassing
P.s.: have you whom kompletten prf-code by E-Mail skillful. |
|
|
| |
|
|
|
Sebastian König | Hello Clemens,
thanks for code! I could so The cause glücklicherweise quick find it lying in a stupid Error discern of local variables - in the next Version becomes the trouble fixed his.
BTW: with the enable of any variables global deklarieren functions it too correctly. [quote:d147f65a14]one behebt none bow, because one it bypassing [/quote:d147f65a14] there voice I you selbstverstänglich fundamentally To! If you the any global...-Workaround not sufficient, login you please again by Email by me
MfG
Sebastian |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] Alte Profan²-Seite: [...] | 05/12/06 ▲ |
|
|
|