Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kwokwong

Pages: [1]
1
EA does not generate codes to initialize the static attributes, however I do provide an initial value in the (C++) model.

I got:
{
 static const int MY_INT;
..
}

But I want:
{
 static const int MY_INT = << inital value>>;
...
}

I use the latest EA 4.1 version.

Any one help?

2
Quote

I just downloaded the latest version (build 734). But the problem (no newline at end of header file) still remains.
Or should I execute any patch ?


Problem is fixed now.  
The fix did not work at once because I have modified some code templates :) :). After restoring these to its' default content, everything works well.

3
Quote
That was fixed at build 733. Try downloading the new version.

There is an option on the "Tools / Options / Generation" dialog to switch on CR & LF. Uncheck the checkbox.

HTH


I just downloaded the latest version (build 734). But the problem (no newline at end of header file) still remains.
Or should I execute any patch ?

4
Automation Interface, Add-Ins and Tools / Adding newline at end of file
« on: August 19, 2004, 07:25:52 am »
We're using EA 4.0 for generation of C++ programs.
The generated header files (*.h) does not contain a newline at end of file.
Our compiler (gcc) complains about that.
Can anyone help to configure EA to generate a newline at end of a header file?

Note: we do not want a CRLF at each  line.

Pages: [1]