* Cygwin gcc-3.3.1 and pragma interface/implementation statements
@ 2003-11-05 5:33 Milton Woods
2003-11-05 11:40 ` Gerrit P. Haase
0 siblings, 1 reply; 2+ messages in thread
From: Milton Woods @ 2003-11-05 5:33 UTC (permalink / raw)
To: cygwin
Greetings,
When building LyX version 1.3.x from source on Cygwin, I had problems
during the final link stage where gcc-3.3.1 reported some undefined
symbols. All of the 'undefined' symbols were actually defined in the LyX
source code, and the compilation proceeded without errors on Linux. I
found that the compilation was also successful on Cygwin once the
#pragma interface/implementation statements were removed from the LyX
source code. The LyX developers had taken reasonable care to protect the
#pragma statements from incompatible compilers by using "#ifdef __GNUG__
" wrappers, but that did not seem to be good enough.
Does this experience reflect a bug in the gcc toolchain? Or are the LyX
developers using #pragma statements incorrectly?
Milton Woods.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cygwin gcc-3.3.1 and pragma interface/implementation statements
2003-11-05 5:33 Cygwin gcc-3.3.1 and pragma interface/implementation statements Milton Woods
@ 2003-11-05 11:40 ` Gerrit P. Haase
0 siblings, 0 replies; 2+ messages in thread
From: Gerrit P. Haase @ 2003-11-05 11:40 UTC (permalink / raw)
To: Milton Woods; +Cc: cygwin
Hello Milton,
Wednesday, November 5, 2003, 6:34:01 AM, you wrote:
> Greetings,
> When building LyX version 1.3.x from source on Cygwin, I had problems
> during the final link stage where gcc-3.3.1 reported some undefined
> symbols. All of the 'undefined' symbols were actually defined in the LyX
> source code, and the compilation proceeded without errors on Linux. I
> found that the compilation was also successful on Cygwin once the
> #pragma interface/implementation statements were removed from the LyX
> source code. The LyX developers had taken reasonable care to protect the
> #pragma statements from incompatible compilers by using "#ifdef __GNUG__
> " wrappers, but that did not seem to be good enough.
It is a known issue that #pragma interface/implementation doesn't work with
Cygwin g++, no solution/fix is known yet.
> Does this experience reflect a bug in the gcc toolchain? Or are the LyX
> developers using #pragma statements incorrectly?
No, it is ok with linux.
--
Best regards,
Gerrit
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-05 11:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-05 5:33 Cygwin gcc-3.3.1 and pragma interface/implementation statements Milton Woods
2003-11-05 11:40 ` Gerrit P. Haase
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).