diff mbox

[alsa-tools] Fix clang -Wreserved-user-defined-literal warnings

Message ID 20180424192432.41355-1-raj.khem@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Khem Raj April 24, 2018, 7:24 p.m. UTC
| us428control.cc:66:18: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
|         printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n");
|                         ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 us428control/us428control.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Takashi Iwai April 24, 2018, 7:32 p.m. UTC | #1
On Tue, 24 Apr 2018 21:24:32 +0200,
Khem Raj wrote:
> 
> | us428control.cc:66:18: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
> |         printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n");
> |                         ^
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

Thanks, applied now.


Takashi
diff mbox

Patch

diff --git a/us428control/us428control.cc b/us428control/us428control.cc
index e839bf4..8cb3c42 100644
--- a/us428control/us428control.cc
+++ b/us428control/us428control.cc
@@ -63,7 +63,7 @@  static void usage(void)
 {
 	printf("Tascam US-428 Control\n");
 	printf("version %s\n", VERSION);
-	printf("usage: "PROGNAME" [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n");
+	printf("usage: " PROGNAME " [-v verbosity_level 0..2] [-c card] [-D device] [-u usb-device] [-m mode]\n");
 	printf("mode is one of (us224, us428, mixxx)\n");
 }
 /*