Skip to content

Instantly share code, notes, and snippets.

@kgaughan
Created February 17, 2016 15:59
Show Gist options
  • Select an option

  • Save kgaughan/f2c8b88d7f8b27b3ed0e to your computer and use it in GitHub Desktop.

Select an option

Save kgaughan/f2c8b88d7f8b27b3ed0e to your computer and use it in GitHub Desktop.
Hrumph...
/usr/ports/lang/gcc6-aux/work/gcc-6-20160214/gcc/ada/adaint.c: In function 'void __gnat_set_file_time_name(char*, time_t)':
/usr/ports/lang/gcc6-aux/work/gcc-6-20160214/gcc/ada/adaint.c:1487:13: error: invalid conversion from 'time_t {aka int}' to 'time_t* {aka int*}' [-fpermissive]
t = time ((time_t) 0);
^~~~~~~~~~
In file included from /usr/include/sys/time.h:471:0,
from /usr/ports/lang/gcc6-aux/work/gcc-6-20160214/gcc/system.h:324,
from /usr/ports/lang/gcc6-aux/work/gcc-6-20160214/gcc/ada/adaint.c:107:
/usr/include/time.h:154:8: note: initializing argument 1 of 'time_t time(time_t*)'
time_t time(time_t *);
^~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment