Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| >>>>> "Lars" == Lars Gullik Bj�nnes <[EMAIL PROTECTED]> writes:
|
| Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: |
| Lars> It seems that CC defines many (all?) C functions in std
| Lars> namespace. How | are we going to handle that? Does adding
| Lars> 'using' directives make sense | on other compilers?
|
| Lars> note that it is correct to put the C prototypes into std::.
|
| So we should start adding 'using' directives to identify all the C
| functions we are using?
No we should qualify the uses with std::
But we might have to use using in the beginning. I think we should
only add what is needed with the compilers that we meet as we meet
them.
| Yes, but putenv() was not in posix.1. It might be in newer revisions,
| though I did not find a reference. Should we prefer using setenv()
| when available? Does solaris 7 have setenv()?
why not have a fixup for solaris 7 then?
Note that in LyX we do not use putenv, but PutEnv so we only need a
way to call the right func in solaris.
(with the right parameters)
Lgb