www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - phobos: missing private on the import

reply Ant <Ant_member pathlink.com> writes:
(could we have private as default on import?
I think this was discussed before)

I found these missing private on phobos imports for these modules
(some modules more then one import):
internal/aaA.d
internal/adi.d
internal/arraycat.d
internal/cast.d
internal/gc/gcx.d
internal/gc/testgc.d
internal/qsort.d
internal/switch.d
internal/dmain2.d
std/asserterror.d
unittest.d
internal/aApply.d
internal/cmath2.d
internal/deh2.d
internal/gc/gc.d
internal/gc/gcbits.d
internal/gc/gclinux.d
std/c/linux/linux.d
std/gc.d
std/md5.d
std/moduleinit.d
std/outbuffer.d
std/recls.d
std/regexp.d
std/socket.d
std/stream.d
std/windows/registry.d

then add to gc\*.d 
(I forgot the module it's some gc module
anyway it's the only compile error after making the imports private):
"private import std.c.windows.windows;"

stream.d has some convinience public imports
format has the stdargs import public as convinience

Ant
Oct 12 2004
parent Ant <Ant_member pathlink.com> writes:
In article <ckhogd$1nbr$1 digitaldaemon.com>, Ant says...
I found these missing private on phobos imports for these modules
anyway it's the only compile error after making the imports private):
didn't test on linux. Ant
Oct 12 2004