_scm_to_make_reader_flag

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

_scm_to_make_reader_flag

Catonano
After having created an empty config.rpath file in order for autoreconf to be happy, I am running into this new problem

~/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e$ make
make  all-recursive
make[1]: Entering directory '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e'
Making all in src
make[2]: Entering directory '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e/src'
make  all-am
make[3]: Entering directory '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e/src'
  CC       reader.lo
In file included from reader.c:1946:0:
make-reader-flags.c:86:1: error: conflicting types for ‘_scm_to_make_reader_flag’
 _scm_to_make_reader_flag (register const char *str, register size_t len)
 ^~~~~~~~~~~~~~~~~~~~~~~~
reader.c:1943:1: note: previous declaration of ‘_scm_to_make_reader_flag’ was here
 _scm_to_make_reader_flag (const char *, unsigned int);
 ^~~~~~~~~~~~~~~~~~~~~~~~
Makefile:483: recipe for target 'reader.lo' failed
make[3]: *** [reader.lo] Error 1
make[3]: Leaving directory '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e/src'
Makefile:374: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e/src'
Makefile:427: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e'
Makefile:357: recipe for target 'all' failed
make: *** [all] Error 2

does this happen to anyone else ?

Thanks

_______________________________________________
Guile-reader-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/guile-reader-devel
Reply | Threaded
Open this post in threaded view
|

Re: _scm_to_make_reader_flag

tantalum
this looks like another thing i have seen before. but it seems this has
been fixed in the current git master version of guile-reader.
in the past i had applied this patch to make it work:
https://aur.archlinux.org/cgit/aur.git/plain/register.patch?h=guile-reader-git&id=52beb87d4f6ff4c59e6b301ac1fbd574e0d9eaf2

On 2018-12-02 22:01, Catonano wrote:

> After having created an empty config.rpath file in order for
> autoreconf to be happy, I am running into this new problem
>
> ~/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e$ make
> make  all-recursive
> make[1]: Entering directory
> '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e'
> Making all in src
> make[2]: Entering directory
> '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e/src'
> make  all-am
> make[3]: Entering directory
> '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e/src'
>   CC       reader.lo
> In file included from reader.c:1946:0:
> make-reader-flags.c:86:1: error: conflicting types for
> ‘_scm_to_make_reader_flag’
>  _scm_to_make_reader_flag (register const char *str, register size_t
> len)
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> reader.c:1943:1: note: previous declaration of
> ‘_scm_to_make_reader_flag’ was here
>  _scm_to_make_reader_flag (const char *, unsigned int);
>  ^~~~~~~~~~~~~~~~~~~~~~~~
> Makefile:483: recipe for target 'reader.lo' failed
> make[3]: *** [reader.lo] Error 1
> make[3]: Leaving directory
> '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e/src'
> Makefile:374: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e/src'
> Makefile:427: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> '/home/catonano/projects/guile-reader-a014ea147649d6adffe3a4acfcaa22b51aa0b55e'
> Makefile:357: recipe for target 'all' failed
> make: *** [all] Error 2
>
> does this happen to anyone else ?
>
> Thanks
>
> _______________________________________________
> Guile-reader-devel mailing list
> [hidden email]
> https://lists.nongnu.org/mailman/listinfo/guile-reader-devel

_______________________________________________
Guile-reader-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/guile-reader-devel
Reply | Threaded
Open this post in threaded view
|

Re: _scm_to_make_reader_flag

Catonano


Il giorno lun 3 dic 2018 alle ore 10:02 tantalum <[hidden email]> ha scritto:
this looks like another thing i have seen before. but it seems this has
been fixed in the current git master version of guile-reader.
in the past i had applied this patch to make it work:
https://aur.archlinux.org/cgit/aur.git/plain/register.patch?h=guile-reader-git&id=52beb87d4f6ff4c59e6b301ac1fbd574e0d9eaf2

thank you Tantalum

I tried again right now and that warning doesn't come up anymore.

Now there's this new one (on the current master)

make  all-am
make[3]: ingresso nella directory "/home/catonano/projects/guile-reader/src"
  CC       reader.lo
  CC       token-readers.lo
  CC       reader-lib.lo
  CC       compat.lo
compat.c: In function ‘tag_to_type’:
compat.c:239:2: warning: implicit declaration of function ‘scm_c_issue_deprecation_warning_fmt’; did you mean ‘scm_set_current_warning_port’? [-Wimplicit-function-declaration]
  scm_c_issue_deprecation_warning_fmt
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  scm_set_current_warning_port
  CCLD     libguile-reader.la


_______________________________________________
Guile-reader-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/guile-reader-devel
Reply | Threaded
Open this post in threaded view
|

Re: _scm_to_make_reader_flag

Catonano


Il giorno mer 2 gen 2019 alle ore 09:38 Catonano <[hidden email]> ha scritto:

Now there's this new one (on the current master)

make  all-am
make[3]: ingresso nella directory "/home/catonano/projects/guile-reader/src"
  CC       reader.lo
  CC       token-readers.lo
  CC       reader-lib.lo
  CC       compat.lo
compat.c: In function ‘tag_to_type’:
compat.c:239:2: warning: implicit declaration of function ‘scm_c_issue_deprecation_warning_fmt’; did you mean ‘scm_set_current_warning_port’? [-Wimplicit-function-declaration]
  scm_c_issue_deprecation_warning_fmt
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  scm_set_current_warning_port
  CCLD     libguile-reader.la




the tests in make check all pass though



_______________________________________________
Guile-reader-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/guile-reader-devel
Reply | Threaded
Open this post in threaded view
|

Re: _scm_to_make_reader_flag

tantalum
i get the same warning. compilation finishes though and the result works
with examples from the manual.

looks like scm_c_issue_deprecation_warning_fmt is used only once, in
src/compat.c, and only if the macro SCM_ENABLE_DEPRECATED is defined. i
cant find any definition of that macro.
scm_c_issue_deprecation_warning_fmt seems to only be called when trying
to use a default vector reader on deprecated uniform vector syntax like
#u() instead of #u32() or similar.

On 2019-01-02 10:33, Catonano wrote:

> Il giorno mer 2 gen 2019 alle ore 09:38 Catonano <[hidden email]>
> ha scritto:
>
>> Now there's this new one (on the current master)
>>
>> make all-am
>> make[3]: ingresso nella directory
>> "/home/catonano/projects/guile-reader/src"
>> CC reader.lo
>> CC token-readers.lo
>> CC reader-lib.lo
>> CC compat.lo
>> compat.c: In function ‘tag_to_type’:
>> compat.c:239:2: warning: implicit declaration of function
>> ‘scm_c_issue_deprecation_warning_fmt’; did you mean
>> ‘scm_set_current_warning_port’?
>> [-Wimplicit-function-declaration]
>> scm_c_issue_deprecation_warning_fmt
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> scm_set_current_warning_port
>> CCLD libguile-reader.la [1]
>
> the tests in make check all pass though
>
>
>
> Links:
> ------
> [1] http://libguile-reader.la

_______________________________________________
Guile-reader-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/guile-reader-devel