uint32_t undefined in SpCommon.h
I am using the new verilator and system perl v1.321 rpms for Fedora and ran into the following error when compiling with tracing enabled:
/usr/include/perl-SystemPerl/SpCommon.h:102: error: â€˜uint32_tâ€™ was not declared in this scope
Tracing this back, it seems <sys/types.h> is being included, which defines u_int32_t, but it does not seem <stdint.h> is being included, which defines uint32_t.
Is there a bug here or am I doing something wrong?
#2 Updated by Wilson Snyder almost 11 years ago
- Status changed from New to Resolved
- Assignee set to Wilson Snyder
Woops, forgot to update this, sorry.
I pushed the fix for this to SystemPerl Git a while ago; I did a larger fix to insure that there's a common header with OS differences to reduce errors.
In next release.
Also available in: Atom