Open Watcom and Open Eu

new topic     » topic index » view thread      » older message » newer message

Hello again,

Now that Eu will be open, many of us will be using Open Watcom
to compile our personal versions so here is a question...

The C++ keyword 'static' when used at file level is supposed
to keep a variable visible to that file only, yet it doesnt
seem to work, because even if you define a var as static
in one file if you go to define it in another file (also as
static) the compiler complains.

Example:

//in file A.h:
static abc;

//in file B.h:
static abc;

This generates compiler error:
 " abc already defined "  !!!

Any ideas?





Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu