You are not logged in.

#26 2020-04-07 18:56:47

bisarch
Member
Registered: 2020-04-07
Posts: 60

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Try adding the following in the beginning and compiling using /usr/bin/g++

 #include <cstdarg>

This shouldn't be needed but just in order to diagnose.

Offline

#27 2020-04-07 19:04:31

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

bisarch wrote:

Try adding the following in the beginning and compiling using /usr/bin/g++

 #include <cstdarg>

This shouldn't be needed but just in order to diagnose.

Sadly no difference


"Never miss a good chance to shut up"
- Will Rogers

Offline

#28 2020-04-07 19:19:58

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Found the solution. In

/usr/include/c++/9.3.0/

there was two symlinks which when removed resolved the issue. These symlinks where made by me some time ago.


"Never miss a good chance to shut up"
- Will Rogers

Offline

#29 2020-04-07 21:35:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

Out of curiosity, what were they?  They should have shown up in the pacman -Qkk output.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#30 2020-04-07 21:47:06

SyntaxError
Member
From: null
Registered: 2017-07-25
Posts: 35

Re: [SOLVED] Weird behavior with g++ (v.9.3.0)

It was

stddef: /usr/include/c++/9.3.0/stddef.h -> /usr/include/stddef.h 

stdarg: /usr/include/c++/9.3.0/stdarg.h -> /usr/include/c++/9.3.0/tr1/stdarg.h 

They were a part of a badly hotfix I applied a while ago.


"Never miss a good chance to shut up"
- Will Rogers

Offline

Board footer

Powered by FluxBB