Breaking changes in Visual C++ 2015

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sat May 9 17:26:35 PDT 2015


On Saturday, 9 May 2015 at 23:36:03 UTC, Walter Bright wrote:
> On 5/9/2015 4:10 PM, Dicebot wrote:
>> On Saturday, 9 May 2015 at 22:44:28 UTC, Walter Bright wrote:
>>> Build systems cannot handle giving different compile flags to 
>>> different files?
>>> Back to using 'make' :-)
>>
>> Compiling different object files with different version flags 
>> is current illegal
>> in D and may result in linking errors.
>
> That's true with many flags for C and C++ compilers, too. But 
> it doesn't stop anyone from routinely using different flags for 
> different source files.
>
> (dmd's makefiles, for example)

Until it breaks. And it breaks pretty fast with version(unittest) 
if you start using it as a common idiom.


More information about the Digitalmars-d mailing list