[FFmpeg-cvslog] aarch64: use '#' for whole line asm comments

Janne Grunau git at videolan.org
Tue Jun 3 18:14:01 CEST 2014


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Fri May 30 16:57:44 2014 +0200| [68a06b3a639ee21c78532ee4c50c3366bf890ff7] | committer: Janne Grunau

aarch64: use '#' for whole line asm comments

Both gnu as and clang treat lines starting with '#' as comments if they
aren't consumed by the C-style preprocessor.
Using '//' does not work with clang since comments are removed before
macro expansion.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=68a06b3a639ee21c78532ee4c50c3366bf890ff7
---

 libavutil/aarch64/asm.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S
index b23eb4f..3690a33 100644
--- a/libavutil/aarch64/asm.S
+++ b/libavutil/aarch64/asm.S
@@ -23,7 +23,7 @@
 #ifdef __ELF__
 #   define ELF
 #else
-#   define ELF //
+#   define ELF  #
 #endif
 
 .macro  function name, export=0, align=2



More information about the ffmpeg-cvslog mailing list