View Issue Details

IDProjectCategoryView StatusLast Update
0000090Ecere SDKcompilerpublic2012-03-29 07:50
Reporteramjad Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0000090: hello world does not catch errors
DescriptionOk
I thought as per tao programming language, eC is case sensitive. this was run on windows vista home edition running AMD 64 processor.

so if i do
void Main()
{
printf ("hello world");

}

run hello.exe on command line gives me
hello world


If i do

void main()
{
printf("hello world");
}

running hello.exe
 gives me nothing.

IS there something i am missing??

Or is this really a bug.

TagsNo tags attached.

Relationships

child of 0000433 closed previously resolved issues (draft 1 of 0.44 and earlier) 

Activities

ZeffriN

2008-07-07 22:56

reporter   ~0000054

Last edited: 2008-07-07 22:56

The fact that the entry point into an eC app is Main() rather than main() is documented in the Tao.

"The equivalent C program follows. Notice the uppercase Main in eC versus main in C."

However the linker should possibly catch that there is no entry point into the binary.

jerome

2008-07-08 15:28

administrator   ~0000055

When an Application class is not found within the executable, it will use one which is defined in a shared library such as ecere.so/.dll which contains the GuiApplication.

Many samples omit defining an Application class and simply create a form instance.

Issue History

Date Modified Username Field Change
2008-06-27 14:39 amjad New Issue
2008-07-07 22:56 ZeffriN Note Added: 0000054
2008-07-07 22:56 ZeffriN Note Edited: 0000054
2008-07-08 15:28 jerome Note Added: 0000055
2008-07-08 15:30 jerome Status new => closed
2008-07-08 15:30 jerome Resolution open => no change required
2010-07-25 21:52 redj Relationship added child of 0000433
2012-03-29 07:50 redj Category => eC Compiling Tools
2012-03-29 07:50 redj Project @2@ => Ecere SDK