Dude! Where's my string constant?

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Tue Jan 23 17:52:56 PST 2007


kris wrote:
> Frits van Bommel wrote:
>> kris wrote:
> [snip]
>>> However, going to these lengths is surely counter-intuitive?
>>
>>
>> Yes it is. What happens for the second one when instantiated should 
>> really happen by default for all strings (i.e. be put into separate 
>> sections).
> 
> Indeed; along with init-data for structs and so on. That would resolve 
> the currently issue with the Win32 header bloat

Hmm... Not only would it fix the bloat, I think it would also remove the 
requirement to even link to the compiled headers. The only reason that 
was needed were struct initializers, right? (enums are used for constants?)



More information about the Digitalmars-d mailing list