-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove useless warnings and fix save-temps with object targets
* Make function declarations (cob_min_int, cob_max_int) in coblocal.h only included if the corresponding macros are defined (COB_NEEDS_MIN_INT, COB_NEEDS_MAX_INT). Avoids useless gcc warnings. * Add a few commented functions in parser.y that might be useful in the future * Do not move object files if they were specified as an explicit target on the command line (typically cobc -c --save-temps=DIR -o foo.o foo.cob should keep foo.o in the current directory)
- Loading branch information
Showing
12 changed files
with
82 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
|
||
2023-11-29 Fabrice Le Fessant <[email protected]> | ||
|
||
* cobc.c (cobc_clean_up): do not move object files if they were | ||
specified as an explicit target on the command line | ||
* parser.y: add "emit_statement_before", "drop_last_statement" | ||
and "replace_last_statement" function for later eventual use. | ||
They are commented using a macro. | ||
|
||
2023-07-26 Simon Sobisch <[email protected]> | ||
|
||
* typeck.c (search_set_keys): improving SEARCH ALL syntax checks | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
|
||
2023-11-29 Fabrice Le Fessant <[email protected]> | ||
|
||
* common.h: export "cob_get_strerror" as a public function | ||
* common.c: (cob_expand_env_string): use "getpid" instead | ||
of "cob_sys_getpid" to use the correct PID in case of "fork" | ||
* coblocal.h: remove unused warnings about inline functions by | ||
adding macro flags "COB_NEEDS_MAX_INT" and "COB_NEEDS_MIN_INT" | ||
that must be declared to use "cob_max_int" and "cob_min_int" | ||
|
||
2023-07-28 Simon Sobisch <[email protected]> | ||
|
||
* screenio.c, common.c: replace use of NCURSES_MOUSE_VERSION by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters