Skip to content
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

hide_flag missing in web.h #1

Closed
blut opened this issue Nov 8, 2016 · 2 comments
Closed

hide_flag missing in web.h #1

blut opened this issue Nov 8, 2016 · 2 comments

Comments

@blut
Copy link

blut commented Nov 8, 2016

There is an issue when compiling with some default options for generic UNIX on ubuntu 14.04.4 LTS with gcc-6.2.0:
CC= gcc -O2
CFLAGS= -DGENERIC
GRAPH= xgraph.o
GRAPHLIB= -lX11

Error:
gcc -O2 -DGENERIC -c xgraph.c
xgraph.c: In function ‘xgraph_facet’:
xgraph.c:247:11: error: ‘struct webstruct’ has no member named ‘hide_flag’; did you mean ‘full_flag’?
if ( web.hide_flag && (t->color != CLEAR) && (t->color != UNSHOWN) )

The hide_flag is indeed missing from web.h. Apparently it got lost some time between 2.30 and 2.70

@blut blut closed this as completed Apr 5, 2020
@tanwi90
Copy link

tanwi90 commented Jun 21, 2023

gcc -O3 -DLINUX -DOOGL -c xgraph.c
xgraph.c: In function ‘xgraph_facet’:
xgraph.c:247:12: error: ‘struct webstruct’ has no member named ‘hide_flag’; did you mean ‘full_flag’?
if ( web.hide_flag && (t->color != CLEAR) && (t->color != UNSHOWN) )
^~~~~~~~~
full_flag
Makefile:242: recipe for target 'xgraph.o' failed
make: *** [xgraph.o] Error 1

How to solve this?

@mayishazn
Copy link

Hi tanwi90,

So what I did to compile the version from Ken Brakke's webpage (the tar.gz unix version) was:
commented out the entire SET_PERM_SGLOBAL_NODE section in evalmore.c
in web.h added a line saying:
int hide_flag
in lexinit.c added a line saying:
web.hide_flag=1;

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

No branches or pull requests

3 participants