View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000090Ecere SDKcompilerpublic2008-06-27 14:392012-03-29 07:50
Reporteramjad 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
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.
Attached Files

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

-  Notes
(0000054)
ZeffriN (reporter)
2008-07-07 22:56
edited on: 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.

(0000055)
jerome (administrator)
2008-07-08 15:28

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



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker