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

Add C++ Guards #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add C++ Guards #42

wants to merge 2 commits into from

Conversation

code2828
Copy link

Fully tested.
Output:

libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2  -o t/static_xterm.lo -c t/static_xterm.c
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/static_xterm.c  -fPIC -DPIC -o t/.libs/static_xterm.o
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/static_xterm.c -o t/static_xterm.o >/dev/null 2>&1
libtool --mode=link --tag=CC cc  -o t/static_xterm.t libunibilium.la t/static_xterm.lo
^Cmake: *** [Makefile:81: t/static_xterm.t] Interrupt
make: *** Deleting intermediate file 't/static_xterm.lo'

gitpod /workspace/unibilium $ make test -j8
libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2  -o t/static_xterm.lo -c t/static_xterm.c
libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2  -o t/static_tmux.lo -c t/static_tmux.c
libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2  -o t/wide-format.lo -c t/wide-format.c
libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2  -o t/if-then-else.lo -c t/if-then-else.c
libtool --mode=compile --tag=CC cc -I. -Wall -std=c99 -O2  -o t/static_screen.lo -c t/static_screen.c
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/static_xterm.c  -fPIC -DPIC -o t/.libs/static_xterm.o
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/static_screen.c  -fPIC -DPIC -o t/.libs/static_screen.o
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/wide-format.c  -fPIC -DPIC -o t/.libs/wide-format.o
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/if-then-else.c  -fPIC -DPIC -o t/.libs/if-then-else.o
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/static_tmux.c  -fPIC -DPIC -o t/.libs/static_tmux.o
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/wide-format.c -o t/wide-format.o >/dev/null 2>&1
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/if-then-else.c -o t/if-then-else.o >/dev/null 2>&1
libtool --mode=link --tag=CC cc  -o t/wide-format.t libunibilium.la t/wide-format.lo
libtool --mode=link --tag=CC cc  -o t/if-then-else.t libunibilium.la t/if-then-else.lo
libtool: link: cc -o t/.libs/wide-format.t t/.libs/wide-format.o  ./.libs/libunibilium.so 
libtool: link: cc -o t/.libs/if-then-else.t t/.libs/if-then-else.o  ./.libs/libunibilium.so 
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/static_screen.c -o t/static_screen.o >/dev/null 2>&1
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/static_xterm.c -o t/static_xterm.o >/dev/null 2>&1
libtool: compile:  cc -I. -Wall -std=c99 -O2 -c t/static_tmux.c -o t/static_tmux.o >/dev/null 2>&1
libtool --mode=link --tag=CC cc  -o t/static_screen.t libunibilium.la t/static_screen.lo
libtool: link: cc -o t/.libs/static_screen.t t/.libs/static_screen.o  ./.libs/libunibilium.so 
libtool --mode=link --tag=CC cc  -o t/static_xterm.t libunibilium.la t/static_xterm.lo
libtool: link: cc -o t/.libs/static_xterm.t t/.libs/static_xterm.o  ./.libs/libunibilium.so 
libtool --mode=link --tag=CC cc  -o t/static_tmux.t libunibilium.la t/static_tmux.lo
libtool: link: cc -o t/.libs/static_tmux.t t/.libs/static_tmux.o  ./.libs/libunibilium.so 
prove -j8
t/00_load.t ................. ok                                        
t/if-then-else.t ............ ok                                        
t/wide-format.t ............. ok                                        
t/static_screen-256color.t .. ok                                        
t/static_screen.t ........... ok                                        
t/static_tmux.t ............. ok                                        
t/static_xterm-256color.t ... ok                                        
t/static_xterm.t ............ ok       
All tests successful.
Files=8, Tests=3137,  0 wallclock secs ( 0.25 usr  0.02 sys +  0.24 cusr  0.36 csys =  0.87 CPU)
Result: PASS
rm t/wide-format.lo t/static_xterm.lo t/static_screen.lo t/if-then-else.lo t/static_tmux.lo

Added C++ Guards to solve Issue mauke#35 from upstream
@code2828 code2828 mentioned this pull request Sep 30, 2020
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