From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 20 07:52:48 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40CEEADB for ; Fri, 20 Dec 2013 07:52:48 +0000 (UTC) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0BE3017A3 for ; Fri, 20 Dec 2013 07:52:47 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id wn1so2332562obc.19 for ; Thu, 19 Dec 2013 23:52:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sg2H9oXqQ7hw9ib4ZLOfHya6ooQ3k9OgUZ86MPEqtdQ=; b=oGGwQvVrpH0PxMz4w0rizD/uYhxLSC+ZSsFqNAmxXO+PM8cTW2U7VPtwf8F0FDN3KO oAhh/AfISE/sJKMzXOSYvv6WaRbPJacqfQ+xDSO819TYpE4xxgxNNq0N4aaciOvWpDHj XSV0RR97w4oKSlu9Xh5FMRIOUCRRn32kENXaFvZeG6EhpcB9lMsc7XcgjexvpoSr+hEy hyZqj5YejQVC+lFybbGDdSIAxrFNhcAiWrmm8SC5GPWCiD8CipVupV2k2K6MmzZvnrCn DSiIkCQ8Z7PBdpaPEjEclS+HxFbiJ4LsiJik6joTrcuVe+wJ97cKaJzPxrCgXYAxDWwT AdfA== MIME-Version: 1.0 X-Received: by 10.182.22.18 with SMTP id z18mr5120580obe.42.1387525967364; Thu, 19 Dec 2013 23:52:47 -0800 (PST) Received: by 10.182.78.100 with HTTP; Thu, 19 Dec 2013 23:52:47 -0800 (PST) Date: Fri, 20 Dec 2013 02:52:47 -0500 Message-ID: Subject: C++ overloaded virtual function From: Joe Nosay To: FreeBSD Hackers Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2013 07:52:48 -0000 /usr/home/raspycat/traverso/work/traverso-0.49.2/src/engine/Driver.h:49:14: note: hidden overloaded virtual function 'Driver::setup' declared here: different number of parameters (3 vs 4) virtual int setup(bool capture=true, bool playback=true, const QString& cardDevice="none" Three = and one &, the last being the odd man out. Both spacing and removing the & still results in an error. Clang++ is expecting an absolute value such as the other three. How do I compensate for the & to have the same value type as =?