Ticket #5051 (closed defect: invalid)

Opened 11 years ago

Last modified 11 years ago

error compiling 3.0.6 additions for linux guests

Reported by: chuaj Owned by:
Component: guest additions Version: VirtualBox 3.0.6
Keywords: linux_wchar_t Cc:
Guest type: Linux Host type: Windows



/tmp/vbox.4/utils.c: In function 'sf_nlscpy':
/tmp/vbox.4/utils.c:532: error: 'wchar_t' undeclared (first use in this function)
/tmp/vbox.4/utils.c:532: error: (Each undeclared identifier is reported only once
/tmp/vbox.4/utils.c:532: error: for each function it appears in.)
/tmp/vbox.4/utils.c:532: error: syntax error before 'uni'
/tmp/vbox.4/utils.c:537: error: 'uni' undeclared (first use in this function)

Suggested solution:

--- vbox.3/utils.c      2009-09-10 03:45:02.000000000 +1000
+++ vbox.4/utils.c      2009-09-21 01:37:01.000000000 +1000
@@ -529,7 +529,7 @@

                 while (in_bound_len) {
                         int nb;
-                        wchar_t uni;
+                        linux_wchar_t uni;

                         nb = utf8_to_utf32 (in, in_bound_len, &uni);

Change History

comment:1 Changed 11 years ago by frank

Which Linux kernel is that?

comment:2 Changed 11 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to invalid

Since you posted it on the dev list, I'll close this one.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use