Forum Discussion
Altera_Forum
Honored Contributor
8 years agoQuartus compiler vs end of line encoding
Hi, does anyone know if Quartus build output files differently depending if some files have carriage return or carriage return with line feed as end of line encoding? We are using GIT as v...
Altera_Forum
Honored Contributor
8 years agoIt is only an idea but I'm trying to think of a situation where two white space characters might behave differently to one. Do you by any chance use a C preprocessor (or similar) on your files? In C programming some long-ago preprocessors, expecting Unix LF-separated lines, would misinterpret CR-LF lines as having two white-space characters. Because backslash as the last character on a line has a special meaning (continuation lines), some compilers would make errors if they recognised backslash-CR-LF as backslash-whitething-endofline instead of backslash-endofline.
My understanding of AHDL is that it's entirely free-form, so I confess this is entirely speculative. Jonathan. PS. I do not believe current C implementations have this problem, just dredging for ideas.