base: Check for static_assert support and provide fallback
Review Request #1399 - Created Sept. 7, 2012 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9203:51de398e0ea5 --------------------------- base: Check for static_assert support and provide fallback C++11 has support for static_asserts to provide compile-time assertion checking. This is very useful when testing, for example, structure sizes to make sure that the compiler got the right alignment or vector sizes.
Issue Summary
4
1
2
1
| Description | From | Last Updated | Status |
|---|---|---|---|
| Shouldn't this just be in an anonymous namespace? | Nathan Binkert | Sept. 10, 2012, 11:17 a.m. | Open |
Posted (Sept. 10, 2012, 8:32 a.m.)
-
SConstruct (Diff revision 1) -
The line ends with a comma
-
src/base/compiler.hh (Diff revision 1) -
If this is copied from somewhere then I would suggest to include a URL or similar.
Posted (Sept. 10, 2012, 9:05 a.m.)
-
SConstruct (Diff revision 1) -
it's perfectly legal python syntax
Ship It!
Ship It!
