OCaml Forge

Detail: [#536] Auto init

Feature Requests: Browse | Download .csv | Monitor

[#536] Auto init

Date:
2010-03-06 16:08
Priority:
3
State:
Open
Submitted by:
Sylvain Le Gall (gildor-admin)
Assigned to:
Sylvain Le Gall (gildor-admin)
Component:
None
Operating System:
None
Summary:
Auto init

Detailed description
We should try to auto-init the library early, rather than relying on a call from main.

Because:
- some strings are translated statically
- there is no really well defined entry points (or main function) in OCaml

So the library should auto-init, using env variables and command line args. The current init with args should just ignore command line arguments, or check that they match previous ones. If no match between what has been used for auto-init and when calling init, just throw a warning telling every statically translated strings.

Followup

No Followups Have Been Posted

Attached Files:

Changes:

Field Old Value Date By
assigned_tonone2010-09-09 16:55gildor-admin