โŒ About FreshRSS

Normal view

There are new articles available, click to refresh the page.
Before yesterdayChange logs

ada: Fix Ada bootstrap on FreeBSD

11 December 2023 at 12:38
ada: Fix Ada bootstrap on FreeBSD

Ada bootstrap on FreeBSD/amd64 was also broken by the recent warning
changes:

terminals.c: In function 'allocate_pty_desc':
terminals.c:1200:12: error: implicit declaration of function 'openpty'; did you
mean 'openat'? [-Wimplicit-function-declaration]
 1200 |   status = openpty (&master_fd, &slave_fd, NULL, NULL, NULL);
      |            ^~~~~~~
      |            openat

terminals.c: At top level:
terminals.c:1268:9: warning: "TABDLY" redefined
 1268 | #define TABDLY 0
      |         ^~~~~~
In file included from /usr/include/termios.h:38,
                 from terminals.c:1109:
/usr/include/sys/_termios.h:111:9: note: this is the location of the previous definition
  111 | #define TABDLY          0x00000004      /* tab delay mask */
      |         ^~~~~~
make[7]: *** [../gcc-interface/Makefile:302: terminals.o] Error 1

Fixed by including the necessary header and guarding the fallback
definition of TABDLY.

This allowed a 64-bit-only bootstrap on x86_64-unknown-freebsd14.0 to
complete successfully.

2023-12-11  Rainer Orth  <[email protected]>

	gcc/ada:
	* terminals.c [__FreeBSD__]: Include <libutil.h>.
	(TABDLY): Only define if missing.
  • [DBH] gcc/ada/terminals.c
  • 11 December 2023 at 12:38

ada: Fix Ada bootstrap on Solaris

5 December 2023 at 10:08
ada: Fix Ada bootstrap on Solaris

The recent warning patches broke Ada bootstrap on Solaris:

adaint.c: In function '__gnat_kill':
adaint.c:3597:3: error: implicit declaration of function 'kill'
[-Wimplicit-function-declaration]
 3597 |   kill (pid, sig);
      |   ^~~~

expect.c: In function '__gnat_expect_poll':
expect.c:409:5: error: implicit declaration of function 'memset'
[-Wimplicit-function-declaration]
  409 |     FD_ZERO (&rset);
      |     ^~~~~~~
expect.c:55:1: note: include '<string.h>' or provide a declaration of 'memset'
   54 | #include <sys/wait.h>
  +++ |+#include <string.h>
   55 | #endif

I'm now including the necessary headers: <signal.h> for kill and
<string.h> for memset.

Bootstrapped without regressions on i386-pc-solaris2.11,
sparc-sun-solaris2.11, x86_64-pc-linux-gnu, and
x86_64-apple-darwin23.1.0.

2023-12-03  Rainer Orth  <[email protected]>

	gcc/ada:
	* adaint.c: Include <signal.h>.
	* expect.c: Include <string.h>.
  • [DBH] gcc/ada/adaint.c
  • [DBH] gcc/ada/expect.c
  • 5 December 2023 at 10:08

ada: Use CLOCK_MONOTONIC on VxWorks

By: Doug Rupp
12 October 2023 at 19:31
ada: Use CLOCK_MONOTONIC on VxWorks

The monotonic clock keeps track of the time that has elapsed since
system startup; that is, the value returned by clock_gettime() is the
amount of time (in seconds and nanoseconds) that has passed since the
system booted. The monotonic clock cannot be reset. As a result,
time interval measurements made relative to the monotonic clock are
not subject to errors resulting from the clock time being unexpectedly
adjusted between the interval start and end.

gcc/ada/

	* s-oscons-tmplt.c: #define CLOCK_RT_Ada "CLOCK_MONOTONIC" for
	__vxworks
  • [DBH] gcc/ada/s-oscons-tmplt.c
  • 12 October 2023 at 19:31

Work around the last problems reported by the linter

By: mgrojo
7 April 2023 at 23:31
Work around the last problems reported by the linter

This works around these problems:

README.md:191:3:   https://matrix.to/#/#ada-lang_Lobby:gitter.im  remark-lint:double-link
README.md:199:112: https://matrix.to/#/#ada-lang:matrix.org       remark-lint:double-link

Which are due to an issue in the linter: https://github.com/Scrum/remark-lint-double-link/pull/10

Closes #107

  • 7 April 2023 at 23:31

Fix issues reported by awesome-lint (double-link, awesome-list-item)

By: mgrojo
25 February 2023 at 23:51
Fix issues reported by awesome-lint (double-link, awesome-list-item)

Fixes these occurrences:
```
  โœ–  266:122  https://github.com/AdaCore/ada_language_server               remark-lint:double-link
  โœ–  289:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  302:69   List item description must start with valid casing           remark-lint:awesome-list-item
  โœ–  322:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  343:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  346:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  350:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  384:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  402:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  449:3    https://github.com/AdaCore/ada_language_server               remark-lint:double-link
  โœ–  492:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  523:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  537:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  562:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  573:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  574:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  590:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  695:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  724:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  725:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  735:3    Invalid list item link                                       remark-lint:awesome-list-item
  โœ–  736:3    Invalid list item link                                       remark-lint:awesome-list-item
```

See issue #107

  • 25 February 2023 at 23:51

Add CC0 license file using template

By: mgrojo
25 February 2023 at 16:22
Add CC0 license file using template

As recommended by:
https://github.com/sindresorhus/awesome/blob/main/pull_request_template.md#requirements-for-your-awesome-list

This will allow removing these awesome-lint errors:
```
README.md:1:1:   License was not detected by GitHub                           remark-lint:awesome-github
README.md:1:1:   Forbidden license section found                              remark-lint:awesome-license
```

  • 25 February 2023 at 16:22

Remove double-link reported by awesome-lint

By: mgrojo
25 February 2023 at 16:59
Remove double-link reported by awesome-lint

Left only in the Embedded section, since it of most interest in that area than as a general sound library.

```
README.md:592:3:   https://github.com/raph-amiard/ada-synth-lib                 remark-lint:double-link
README.md:653:3:   https://github.com/raph-amiard/ada-synth-lib                 remark-lint:double-link
```
See issue #107
  • 25 February 2023 at 16:59
โŒ
โŒ