Home | Contact | Pricing | News | Partners | Mailing List | Site Map

Developer Center

rss feed
Welcome to the AdaCore Developer Center, the place to get the latest GNAT Pro technology news and resources such as technical papers, live docs and expert tips on programming in Ada.

AdaCore Development Log

Monday July 21, 2008

[GNAT] Better handling of non-standard line endings

LF/CR is no longer recognized as a legitimate line terminator (it will now be treated as two separate line terminators). This resuls in better handling of files containing mixed unix/dos line endings, and in particular if the -gnatyd switch is used, the messages more accurately point to the DOS lines. Note that no known system uses LF/CR as a line terminator.

Posted by Posted in Development Log, GNAT Compilation System

Monday July 21, 2008

[GNAT] Specify line length for -gnatD/-gnatG output

The generated output from use of -gnatG or -gnatD by default has a maximum line length of 72. It is now possible to specify an alternative maximum line length using an integer value right after the D or G switch. The minimum value that can be specified is 40, the maximum is 999999. Any value less than 40 is reset to 40.

Posted by Posted in Development Log, GNAT Compilation System

Sunday July 20, 2008

[GNAT] Avoid cascaded messages for bad parameters

Bogus conformance messages for bad parameters in the body are now suppressed in the case where the real problem is that the type was declared incorrectly in the spec, resulting in an error message posted in the spec.

Posted by Posted in Development Log, GNAT Compilation System

Friday July 18, 2008

[GPRBUILD] Partial linker to link shared libraries

The partial linker, when declared, is now used to build shared libraries, in chunks if the command line length would be too long to build the shared library in one chunk.

Posted by Posted in Development Log, GNAT Compilation System

Friday July 18, 2008

[GPRBUILD] Partial linking in chunks

When the partial linker is declared, a static stand-alone library is linked in chunks if the command line would be too long to link it in one chunk.

Posted by Posted in Development Log, GNAT Compilation System

Tuesday July 15, 2008

[GNAT] GNAAMP allocates exported constants as static data

On the AAMP target, the compiler now allocates static scalar constants that have a pragma Export as static data (counter 2), rather than volatile data initialized by elaboration code.

Posted by Posted in Development Log, GNAT Compilation System

Friday July 11, 2008

[GNAT] Allow class-wide functions with zfp runtime

Functions returning limited class-wide or tagged types (which use build-in-place in Ada 2005) are now allowed when using the zfp runtime.

Posted by Posted in Development Log, GNAT Compilation System

Wednesday July 9, 2008

[PolyORB] New IAC command line switch -nocpp

A new command line switch "-nocpp" is supported by IAC, indicating that the input file has already been preprocessed, and should not be preprocessed again.

Posted by Posted in Development Log, PolyORB

Wednesday July 9, 2008

[PolyORB] Better detection of conflicting middleware setups

Middleware setups that include more than one ORB tasking policy or more than one ORB controller are now detected at initialization time and cause an exception to be raised instead of silently proceeding with execution of the inconsistent partition.

Posted by Posted in Development Log, PolyORB

Tuesday July 8, 2008

[GNAT] Option to limit number of diagnostics in gnatcheck

A new option ‘-mnnn’ is added to limit the number of the diagnostic messages to be sent to the standard output file to nnn.

Posted by Posted in Development Log, GNAT Compilation System