Skip to content

Update tut.c and tut_gen.py to remove outdated readline functions. #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weilidays
Copy link

@weilidays weilidays commented Apr 13, 2018

  1. Function() and CPPFunction() which are used in tut.c are outdated in recent Readline versions. "deprecated functions" Errors are reported during compilation if using Readline 7. More details are in "rltypedef.h" of Readline libary file, and "filesman.c" of /Readline/Examples/. Updated the codes in tut.c and tut_gen.py for Function() and CPPFunction() replacements.

  2. 'xmalloc' is a global variable defined in Readline, and was defined in tut.c again. An error showed up when compiling penn_daq on nubar (not on hep). Definition codes of 'xmalloc' are commented out in tut.c.

…ine versions. Errors are reported during compliation when using Readline7. So I used the replacements of Function() and CPPFunction() in file rltypedef.h of readline to update the related codes in tut.c and tut_gen.py.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant