Skip to content

Commit

Permalink
Merge pull request #136 from MartinNowak/fixup134
Browse files Browse the repository at this point in the history
print tango import warning only once
  • Loading branch information
dnadlinger committed Jul 31, 2014
2 parents 9ce1216 + d05d5c4 commit b5a865a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rdmd.d
Expand Up @@ -344,8 +344,10 @@ bool inALibrary(string source, string object)

// https://issues.dlang.org/show_bug.cgi?id=13178
// print a warning about `tango` removal for one release cycle
if (source.startsWith("tango."))
static bool seenTango;
if (!seenTango && source.startsWith("tango."))
{
seenTango = true;
stderr.writeln(
"Warning: 'tango' package is no longer automatically excluded from compilation.\n" ~
"Warning: modify your build script to mention --exclude=tango to keep the old behaviour"
Expand Down

0 comments on commit b5a865a

Please sign in to comment.