[Bug 106304] glcpp/tests/glcpp-test-cr-lf and glcpp/tests/glcpp-test fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 30 17:09:42 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106304

--- Comment #2 from ben at besd.de <ben at besd.de> ---
I think my error messages are different then what is expected

$cpp 132-eof-without-newline-define.c
mine:
# 1 "132-eof-without-newline-define.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "132-eof-without-newline-define.c"
132-eof-without-newline-define.c:1:9: error: no macro name given in #define
directive
 #define
         ^
expected:
0:1(1): preprocessor error: #define without macro name

mine:
# 1 "133-eof-without-newline-comment.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "133-eof-without-newline-comment.c"
133-eof-without-newline-comment.c:1:49: error: unterminated comment
 This file ends with no newline within a comment /*
                                                 ^
This file ends with no newline within a comment

expected:
# 1 "133-eof-without-newline-comment.c.expected"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "133-eof-without-newline-comment.c.expected"
0:1(51): preprocessor error: Unterminated comment
This file ends with no newline within a comment



cpp (Ubuntu 7.2.0-8ubuntu3.2) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


What other information would you be interested in?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180430/1ee3505a/attachment-0001.html>


More information about the intel-3d-bugs mailing list