On 09/04/2012 11:17 PM, Tommi Rantala wrote:
2012/9/4 Cody P Schafer <[email protected]>:
---
tests/ppc64-test-wchar.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
I wonder what the purpose of this test is, any ideas? Why is libunwind
interested in wchar on ppc64? Is this still relevant?
On all of these: no idea.
diff --git a/tests/ppc64-test-wchar.c b/tests/ppc64-test-wchar.c
index 01d637c..4506e7f 100644
--- a/tests/ppc64-test-wchar.c
+++ b/tests/ppc64-test-wchar.c
@@ -1,13 +1,13 @@
#include <wchar.h>
#include <stdio.h>
-main ()
+int main ()
I would use "int main (void)".
As would I.
{
wchar_t *wstring =
How about "static const wchar_t wstring[] =" while we're at it?
Because I have no idea how that might change what this is testing.
L"Now is the time for all good men to come to the aid of their country";
_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel