Hi all,
This is my first participation in this forum.
My name is Alfonso and I would like to see if anybody could help me someway.
I am sorry for my english in advance, I will try to do my best...
I am coding my particular Random Number Generator from the cRNG class.
All is working ok, but I have a simple problem with the macro to lookup a new key in the omnetpp.ini.
The following line code line is included in the *.cc:
Register_PerRunConfigOption( CFGID_SEED_CG, "seed-%-cg", CFG_STRING, "330eabcd1234", "When LCG is selected as random "
"number generator: seed (330eabcd1234 as default) for RNG number k. (Substitute k for '%' in the key.)" );
I wonder if there is a way to avoid the error that appears in the omnetpp.ini for this key as "Unknown configuration option".
The program is running without problems, the key from the ini file is read correctly.
Obviously is not a compiling or execution problem.
However when editing is a bit annoying to see the red mark..., I would like to fix this.
I guess that for any reason the grammatical parsing of the ini file is not considering the new key.
But a question raise to me: if the source code of the omnetpp uses these macros, am I forgetting something...?
Salutations, and thank you very much!