Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [alsa-tools][PATCH] Fix clang -Wreserved-user-defined-literal warnings
@ 2018-04-24 19:24 Khem Raj
  2018-04-24 19:32 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2018-04-24 19:24 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, broonie, Khem Raj

| 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(-)

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");
 }
 /*
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [alsa-tools][PATCH] Fix clang -Wreserved-user-defined-literal warnings
  2018-04-24 19:24 [alsa-tools][PATCH] Fix clang -Wreserved-user-defined-literal warnings Khem Raj
@ 2018-04-24 19:32 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2018-04-24 19:32 UTC (permalink / raw)
  To: Khem Raj; +Cc: alsa-devel, broonie

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-24 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-24 19:24 [alsa-tools][PATCH] Fix clang -Wreserved-user-defined-literal warnings Khem Raj
2018-04-24 19:32 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox