1138 Commits

Author SHA1 Message Date
Thomas Quinot
8112d0c69c (Initialize_Routine): Fix reference to wrong TypeCode object
For an interface, we generate two typecode objects: one in
the enclosing scope, and one in the interface's own scope.
When initializing the object in the enclosing scope, do not
erroneously reference that in the interface scope.

Fixes P921-037

Subversion-branch: /trunk/polyorb
Subversion-revision: 251246
2016-09-21 20:29:37 +00:00
Thomas Quinot
4564ea38e1 (Build, Compile): Generate -margs if needed
Make sure builder switches from the command line are passed to the
builder
in the correct command line section, even if Arguments specify -Xargs.

Followup on P120-017

Subversion-branch: /trunk/polyorb
Subversion-revision: 246314
2016-02-16 10:24:55 +00:00
Thomas Quinot
895156afbb * compilers/common_files/utils.adb, utils.ads
(Starts_With): New subprogram

* compilers/gnatdist/xe_utils.adb
  (Scan_Dist_Arg):
  Pass --unchecked-shared-lib-imports down to gnat ls

Fixes P120-017

Subversion-branch: /trunk/polyorb
Subversion-revision: 246124
2016-02-08 09:31:17 +00:00
Vincent Celier
b49a218943 Use ALI file name instead of source file name when invoking gprls
O528-046 and O528-048

Subversion-branch: /trunk/polyorb
Subversion-revision: 244264
2015-11-28 19:25:16 +00:00
Thomas Quinot
322f47e923 (XE_Back.PolyORB.Generate_Executable_File): Pass base name of
partition main unit to gprbuild instead of full path, to avoid
inconsistency on Windows.

Fix for O402-004 regression coming from changes for NC22-002

Subversion-branch: /trunk/polyorb
Subversion-revision: 237806
2015-04-03 14:59:53 +00:00
Thomas Quinot
084c616a9d Switch gnatdist's default builder to gprbuild
For NC22-002

Subversion-branch: /trunk/polyorb
Subversion-revision: 237253
2015-03-13 16:55:33 +00:00
Thomas Quinot
6163731978 Reorganize to support building with gprbuild
For NC22-002

Subversion-branch: /trunk/polyorb
Subversion-revision: 237133
2015-03-10 17:39:18 +00:00
Thomas Quinot
622ebd9309 Remove command line limitations
N923-009

Subversion-branch: /trunk/polyorb
Subversion-revision: 232593
2014-09-23 11:17:17 +00:00
Thomas Quinot
bba5ae4fa9 (Push_Scope): When entering a scope, its identifiers must be
inserted in the homonyms chain in the order they were declared
so that later reopening of modules correctly override earlier
ones.

Further fix for N909-046

Subversion-branch: /trunk/polyorb
Subversion-revision: 232591
2014-09-23 10:34:50 +00:00
Thomas Quinot
0b79c46d5e Followup on previous change completing fix for regression introduced
by change for N723-007

Subversion-branch: /trunk/polyorb
Subversion-revision: 232451
2014-09-17 10:05:27 +00:00
Thomas Quinot
37880c9045 (Scan_Preprocessor_Directive): If a line number has been read, subtract
1
from it to compensate for incrementation by Skip_Line.

Fixes regression introduced by change for N723-007

Subversion-branch: /trunk/polyorb
Subversion-revision: 232397
2014-09-16 08:37:54 +00:00
Thomas Quinot
999661ef02 (Scopes.Push_Scope): Need to update Potential_Scope of identifiers when
reopening a module so that they are correctly visible further on.

In backends, ignore instances of a module that has been reopened further
on, to prevent duplicate processing.

Fix for N909-046

Subversion-branch: /trunk/polyorb
Subversion-revision: 232364
2014-09-15 16:42:03 +00:00
Thomas Quinot
784e850113 Minor reformatting
Subversion-branch: /trunk/polyorb
Subversion-revision: 232363
2014-09-15 16:37:20 +00:00
Thomas Quinot
641d24aa32 Minor reformatting
Subversion-branch: /trunk/polyorb
Subversion-revision: 232362
2014-09-15 16:36:31 +00:00
Thomas Quinot
dff91099bb If a preprocessor line has a filename with an incorrect suffix, ignore
the
entire line.
Part of N723-007

Subversion-branch: /trunk/polyorb
Subversion-revision: 230843
2014-07-23 10:46:42 +00:00
Bob Duff
b63c10e2bb Minor: Put spaces around binary operators. Needed to avoid new compiler
warnings.
N216-004

Subversion-branch: /trunk/polyorb
Subversion-revision: 223532
2014-02-18 23:12:33 +00:00
Bob Duff
bee6c5ed4a Fix incorrect parsing of unary minus when it appears to the left of ".."
in a
pragma range, as in:
#pragma range X -1 .. 10
MB27-043

Subversion-branch: /trunk/polyorb
Subversion-revision: 223388
2014-02-14 23:18:35 +00:00
Thomas Quinot
2efb7dd41c Guard against CONSTRAINT_ERROR when the config file name on the command
line
is less than 4 characters long.

Subversion-branch: /trunk/polyorb
Subversion-revision: 222274
2014-01-21 10:18:24 +00:00
Bob Duff
2672e7c137 Minor reformatting of error message.
H314-024

Subversion-branch: /trunk/polyorb
Subversion-revision: 219970
2013-11-26 20:22:20 +00:00
Bob Duff
4f92f18b82 Minor reformatting: put 'then' on separate line.
MB20-030

Subversion-branch: /trunk/polyorb
Subversion-revision: 219702
2013-11-21 16:13:07 +00:00
Bob Duff
03f871eda3 Minor: add missing 'overriding'
Subversion-branch: /trunk/polyorb
Subversion-revision: 215493
2013-09-11 22:34:16 +00:00
Thomas Quinot
c2548fc488 (Scan_Dist_Args): Do not pass unrecognized command line switches
to "gnat list".
Further cleanup after M306-038 changes

Subversion-branch: /trunk/polyorb
Subversion-revision: 204254
2013-03-14 10:05:10 +00:00
Thomas Quinot
3f0c880f08 (List): Do not pass -q to "gnat list" as this is not a valid command
line
switch for that command.
Fix latent bug uncovered by fix for M306-038

Subversion-branch: /trunk/polyorb
Subversion-revision: 204200
2013-03-13 12:41:20 +00:00
Thomas Quinot
16f14cf070 Add support for providing RCI locations in configuration.
Add corresponding support for running a DSA application with no name
server
at all.
For M301-038, LC11-042

Subversion-branch: /trunk/polyorb
Subversion-revision: 203428
2013-03-01 16:25:24 +00:00
Thomas Quinot
a12ea4d2a6 Remove incorrect svn:eol-style property.
Noted on M116-036

Subversion-branch: /trunk/polyorb
Subversion-revision: 202538
2013-02-13 10:07:15 +00:00