The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @IanColdwater: Do not touch that part of the codebase, you say? Well now that you mentioned it, I am most certainly going to touch that… 37 minutes ago
    • RT @IanColdwater: Phrases for breakers to keep an eye out for in documentation written for builders include: * should not be used in produ… 47 minutes ago
    • RT @IanColdwater: My favorite part of these docs is the part where it specifically recommends ephemeral containers as a use case for distro… 55 minutes ago
    • RT @ookkliklaminaat: hoe grappig zou het zijn als we allemaal de 6 uur lange IKEA Luistercatalogus de Top2000 instemmen 1 hour ago
    • RT @Walrathis: 12.000 Mensen. Bij één zorgverlener. 12.000 Mensen. Stel je eens voor dat ze knobbel in hun borst zouden hebben, bloedwaar… 1 hour ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,777 other followers

Archive for October 15th, 2014

Continua v1.5.0.338 got released last week (via: Version 1.5 History | Continua CI – Page2RSS)

Posted by jpluimers on 2014/10/15

Two changes I really like in the new v1.5.0.338 build of Continua CI version log history:

  • Update: Now logging the environment variables passed to actions in the build log
  • Update: Better messages when handling errors expanding variables

That makes debugging build issues a lot easier, as many of them are related to (environment) variables.

–jeroen

via Version 1.5 History | Continua CI – Page2RSS.

Posted in Continua CI, Continuous Integration, Development, Software Development | Leave a Comment »

The Delphi MESSAGE directive: don’t forget quotes!

Posted by jpluimers on 2014/10/15

The Delphi MESSAGE directive is a very powerful one, you can generate compiler hints, warnings and errors with it, even fatal ones that abort compilation.
The compiler will return error codes H1054 (hint), W1054 (warning), E1054 (error) or F1054 (fatal error), which in the documentation are known under the catch-all x1054.

You need to take a bit of care with message directives, especially with the quotes. For instance

{$Message Error 'Not implemented'}

gives you the error below, but continues compiling:

[DCC Error] E1054 Not implemented

However, if you forget the single quotes

{$Message Error Not implemented}

it gives you error E1030  (not x1054), which is a bit confusing as it is a catch-all for invalid directives:

[DCC Error] E1030 Invalid compiler directive: 'message'

Here is a full example (now moved to bitbucket) of all the message directives and compiler reactions you can get: Read the rest of this entry »

Posted in Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development | Leave a Comment »

 
%d bloggers like this: