Wireshark-bugs: [Wireshark-bugs] [Bug 1708] packet-ber.h does not compile on solaris with sun c
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1708
------- Comment #2 from guy@xxxxxxxxxxxx 2007-07-25 23:35 GMT -------
^M is a carriage return, not a line feed (line feed is ^J).
packet-ber.h has svn:eol-style set to "native", so if you check it out on a
UN*X box, lines should end with just a line feed, and, if you check it out on a
Windows box, lines should end with CR-LF, so a correct Windows SVN client
*should* put CR-LF at the end of *every* line - if it does that, there's
nothing to fix.
I'd expect more problems if there were CR-LF's at the ends of lines, but that's
still worth checking - especially if the source code was checked out on a
Windows machine rather than a UN*X machine, as, if it's checked out on a
Windows machine, the text files with have CR-LFs at the ends of lines. Then
again, if CR-LF's were causing problems, I'd expect that to screw up almost
*all* the source files.
So I'm not sure how the heck this would be happening. The first line it
complains about is
#ifndef __PACKET_BER_H__
and, at least on my UN*X box, there are two white space characters on that line
- a space after #ifndef, and an LF at the end of the line, so I can't see what
Sun C has to complain about.
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.