[Bug target/77441] New: Cygwin64: g++ linker: infinite loop when linking a shared library from objects compiled with std=c++14

2016-09-01 Thread zosrothko at orange dot fr
: UNCONFIRMED Severity: major Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zosrothko at orange dot fr Target Milestone: --- Created attachment 39532 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39532&acti

[Bug c++/61580] New: stoi function unknown on W7/Cygwin/x86_64

2014-06-21 Thread zosrothko at orange dot fr
++ Assignee: unassigned at gcc dot gnu.org Reporter: zosrothko at orange dot fr Hello The following program $ cat stoi.cpp #include int main() { std::string s = "123"; int i = std::stoi(s); } does not compile on a W7/Cygwin/x86_64 platform. here the log $ g++ -

[Bug target/60544] libcmain.c:39: undefined reference to `WinMain'

2014-03-16 Thread zosrothko at orange dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60544 zosrothko at orange dot fr changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug target/60544] New: libcmain.c:39: undefined reference to `WinMain'

2014-03-16 Thread zosrothko at orange dot fr
onent: target Assignee: unassigned at gcc dot gnu.org Reporter: zosrothko at orange dot fr Hi On a cygwin/win7/x86-64 platform, linking a c++ program with g++ -Wl,-trace-symbol=main -o "CobolParser.exe" ./src/CharStream.o ./src/CobolParser.o ./src/CobolParserToken

[Bug c++/60498] error: 'snprintf' was not declared in this scope

2014-03-11 Thread zosrothko at orange dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60498 --- Comment #7 from zosrothko at orange dot fr --- (In reply to Jakub Jelinek from comment #6) > As C++ isn't C, obviously it g++ -std=c++11 doesn't define __STDC_VERSION__ > macro, but just defines > __STRICT_ANSI__ 1 &g

[Bug c++/60498] error: 'snprintf' was not declared in this scope

2014-03-11 Thread zosrothko at orange dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60498 --- Comment #5 from zosrothko at orange dot fr --- This is a snipet from usr/include/stdio.h #if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >= 199901L) #ifndef _REENT_ONLY int _EXFUN(asiprintf, (char **, const c

[Bug c++/60498] error: 'snprintf' was not declared in this scope

2014-03-11 Thread zosrothko at orange dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60498 --- Comment #4 from zosrothko at orange dot fr --- (In reply to Jakub Jelinek from comment #2) > stdio.h is provided by cygwin, not GCC, so IMHO you should report it there > instead. and by the way, it compiles fine when using -std=gnu++11

[Bug c++/60498] error: 'snprintf' was not declared in this scope

2014-03-11 Thread zosrothko at orange dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60498 --- Comment #3 from zosrothko at orange dot fr --- (In reply to Jakub Jelinek from comment #2) > stdio.h is provided by cygwin, not GCC, so IMHO you should report it there > instead. on the cygwin mailling list, cygwin states that it is a

[Bug c++/60498] error: 'snprintf' was not declared in this scope

2014-03-11 Thread zosrothko at orange dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60498 --- Comment #1 from zosrothko at orange dot fr --- This issue applies also to other C functions like strdup, realpath, strerror_r, strsep, etc..

[Bug c++/60498] New: error: 'snprintf' was not declared in this scope

2014-03-10 Thread zosrothko at orange dot fr
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: zosrothko at orange dot fr Hi On a Cygwin/win7/x86_64 platform with , one gets this error message when compiling the following source with -std=c++11 while it compiles fine with -std=gnu++11 $ cat foo.c #include

[Bug libgcc/60475] undefined reference to `__gxx_personality_seh0'

2014-03-09 Thread zosrothko at orange dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60475 --- Comment #3 from zosrothko at orange dot fr --- (In reply to Jonathan Wakely from comment #1) > (In reply to zosrothko from comment #0) > > $ gcc -xc++ -std=gnu++11 -o foo foo.c > > To link a C++ program you should explicitl

[Bug libgcc/60475] New: undefined reference to `__gxx_personality_seh0'

2014-03-09 Thread zosrothko at orange dot fr
onent: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: zosrothko at orange dot fr Hi On a cygwin platform with win7 X86-64 arch as underlying OS -- see later the specs --, the compiling, linking and assembling of the following program $ cat foo.c #include int main