public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/38843] New: Problem with SystemC compilation using GCC 4.3.2
@ 2009-01-14 17:18 conanedo08 at gmail dot com
2009-01-14 17:37 ` [Bug preprocessor/38843] " paolo dot carlini at oracle dot com
2009-01-14 17:46 ` schwab at suse dot de
0 siblings, 2 replies; 3+ messages in thread
From: conanedo08 at gmail dot com @ 2009-01-14 17:18 UTC (permalink / raw)
To: gcc-bugs
Hi ,
Dear Stuff,
Lastly I wanted to install SystemC on my linux Ubuntu 8.10(Intrepid) with
kernel 2.6.27-7, but I got some problems at compilation time with GCC 4.3.2:
g++ -I. -I. -I../../../../src/sysc/utils -I../../../../src -Wall
-DSC_INCLUDE_FX -O3 -c -o sc_utils_ids.o `test -f
'../../../../src/sysc/utils/sc_utils_ids.cpp' || echo
'../../../../src/sysc/utils/'`../../../../src/sysc/utils/sc_utils_ids.cpp
../../../../src/sysc/utils/sc_utils_ids.cpp: In function 'int
sc_core::initialize()':
../../../../src/sysc/utils/sc_utils_ids.cpp:113: error: 'getenv' is not a
member of 'std'
../../../../src/sysc/utils/sc_utils_ids.cpp: At global scope:
../../../../src/sysc/utils/sc_utils_ids.cpp:122: warning: 'sc_core::forty_two'
defined but not used
make[3]: *** [sc_utils_ids.o] Error 1
make[3]: Leaving directory
`/home/khalil/Projects/systemc-2.2.0/objdir/src/sysc/utils'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/khalil/Projects/systemc-2.2.0/objdir/src/sysc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/khalil/Projects/systemc-2.2.0/objdir/src'
make: *** [install-recursive] Error 1
Please, can you give me any solution to this problem, because I'm really stuck!
What do you think of downgrading my GCC 4.3.2 to GCC 3.2.3?
Thank you for your time, I look to hear from you sooner.
Regards
--
Summary: Problem with SystemC compilation using GCC 4.3.2
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: conanedo08 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38843
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug preprocessor/38843] Problem with SystemC compilation using GCC 4.3.2
2009-01-14 17:18 [Bug preprocessor/38843] New: Problem with SystemC compilation using GCC 4.3.2 conanedo08 at gmail dot com
@ 2009-01-14 17:37 ` paolo dot carlini at oracle dot com
2009-01-14 17:46 ` schwab at suse dot de
1 sibling, 0 replies; 3+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-01-14 17:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo dot carlini at oracle dot com 2009-01-14 17:36 -------
First, this issue has nothing to do with the preprocessor. Actually, looking at
your PR, has nothing to do with GCC. Apparently, the authors of SystemC forgot
to include <cstdlib> in sc_utils_ids.cpp, and that shows up only now because
the C++ headers delivered with 4.3.2 have been cleaned-up and less is included
as an implementation detail. I would suggest reporting the issue to the SystemC
authors; do not downgrade GCC; if you want, in the meanwhile experiment with
adding the missing include yourself.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38843
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug preprocessor/38843] Problem with SystemC compilation using GCC 4.3.2
2009-01-14 17:18 [Bug preprocessor/38843] New: Problem with SystemC compilation using GCC 4.3.2 conanedo08 at gmail dot com
2009-01-14 17:37 ` [Bug preprocessor/38843] " paolo dot carlini at oracle dot com
@ 2009-01-14 17:46 ` schwab at suse dot de
1 sibling, 0 replies; 3+ messages in thread
From: schwab at suse dot de @ 2009-01-14 17:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from schwab at suse dot de 2009-01-14 17:46 -------
*** Bug 38842 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38843
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-14 17:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-14 17:18 [Bug preprocessor/38843] New: Problem with SystemC compilation using GCC 4.3.2 conanedo08 at gmail dot com
2009-01-14 17:37 ` [Bug preprocessor/38843] " paolo dot carlini at oracle dot com
2009-01-14 17:46 ` schwab at suse dot de
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).