VirtualBox

Opened 10 years ago

Closed 10 years ago

#13185 closed enhancement (fixed)

configure check was changed to allow also gcc-4.9, but error message seems unchanged.

Reported by: bernhardu Owned by:
Component: other Version: VirtualBox 4.3.14
Keywords: Cc:
Guest type: other Host type: other

Description

(This is currently no at all problem until newer gcc version get released.)

Changeset 50261

--- a/trunk/configure
+++ b/trunk/configure
@@ -421,5 +421,5 @@
              -o \( $cc_maj -eq 3 -a $cc_min -lt 2 \) \
              -o \( $cc_maj -eq 4 -a $cc_min -lt 1 -a "$OS" != "darwin" \) \
-             -o \( $cc_maj -eq 4 -a $cc_min -gt 8 \) \
+             -o \( $cc_maj -eq 4 -a $cc_min -gt 9 \) \
              -o $cc_maj -gt 4 ]; then
         log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"

Here I assume that also the line log_failure should be changed:

-         log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
+         log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<9"

Change History (2)

comment:1 by bernhardu, 10 years ago

At a second look it seems that it is now off by 2 gcc minor versions, so it should read today:

-         log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<8"
+         log_failure "gcc version $cc_ver found, expected gcc 3.x with x>1 or gcc 4.x with 0<x<10"

or trying to avoid confusion:

log_failure "gcc version $cc_ver found, expected gcc 3.x with x>=2 or gcc 4.x with 1<=x<=9"

comment:2 by Frank Mehnert, 10 years ago

Resolution: fixed
Status: newclosed

Thanks, that was fixed.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette