Opened 12 years ago
Closed 11 years ago
#4991 closed Patches (fixed)
uuid compile errors and warnings
Reported by: | Owned by: | Andy Tompkins | |
---|---|---|---|
Milestone: | Boost 1.46.0 | Component: | uuid |
Version: | Boost 1.45.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Can someone please apply this patch to boost uuid? This patch fixes a compile error and warning when using a Green Hills compiler.
Attachments (1)
Change History (9)
by , 12 years ago
Attachment: | uuid.patch added |
---|
comment:2 by , 12 years ago
I agree with the fix in string_generator.hpp. In seed_rng.hpp ::memcpy is used from <memory.h>
comment:3 by , 12 years ago
So the green hills library doesn't have memcpy in <cstring>, which is what the standard requires?
comment:5 by , 12 years ago
Ah, I see. I was reading things wrong. Right, memcpy should be in <cstring>. I am no longer sure why <memory.h> is included. Maybe I was reading things wrong much earlier in this file's life. If no tests on any platform fail after removing the #include line, I see no reason to not remove it completely.
comment:6 by , 12 years ago
The green hills compiler does have memcpy in <cstring>, but it does not have <memory.h>. Well, it looks like you guys figured it out already.
comment:7 by , 12 years ago
Removed semicolon from string_generator.hpp. Removed #include <memory.h> from seed_rng.hpp. Committed to trunk.
comment:8 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Compile error fix for GHS compiler