I'm having problems with Doxygen giving me warning messages such as these:
todo:86: warning: Unexpected character `d'
todo:86: warning: Unexpected character `o'
todo:86: warning: Unexpected character `c'
todo:86: warning: Unexpected character `/'
todo:86: warning: Unexpected character `t'
todo:86: warning: Unexpected character `e'
todo:86: warning: Unexpected character `r'
scons: *** [doc/API/html/index.html] Doxygen errors encountered, see doxygen.warn for details
scons: building terminated because of errors.
If I look at doxygen.warn, it just contains the todo:86 lines again, which isn't really details, eh? ;) Anyway, the characters are part of a path in my project, but they don't exist in the sources themselves. I have no idea where the warnings are coming from, and am stuck now, as our team enforces a "no warnings, whatsoever" policy.
Any ideas on where to look for this?
Related
Hundreds of errors while compiling cmsis_armcc.h.
Most of them are
expected identifier or '('
or
unknown register name.
The cmsis_armcc.h file is up-to-date.
expected identifier or '('
unknown register name
parse error: Invalid numeric literal at line 1, column 6
parse error: Invalid numeric literal at line 1, column 6
jq: error: syntax error, unexpected ')' (Unix shell quoting issues?) at , line 1:
[.releases[] | select(.hash==)][0].archive
jq: 1 compile error
Downloading /
curl: (3) malformed
tar: latest_stable.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Flutter initialization failed
Could not find working copy of Flutter
Unfortunately I live in Iran and I have changed my IP and it worked
I'm attempting to use a Bridging header but when I try to run my application I get a swift compiler error, when I remove the bridging header and the header file the app runs.
This is the error message I get:
<unknown>:0: error: generate-pch command failed with exit code 1 (use -v to see invocation)
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
My app has spaces in it's name and I'm denoting that by adding hyphens instead of spaces. I attempted to remove the space by using a backslash and a space like "${SRCROOT}/Project\ Name/headerFile.h" but I got this error message:
<unknown>:0: error: error opening input file '/Users/apple/Documents/Folder/Project Name/Project\ Name/HeaderFile.h' (No such file or directory)
Any advice or pointers would be greatly appreciated.
I just fixed this by using just spaces instead of hyphens or backslash and spaces. Simple enough.
I used Emacs to compile .sml, and I encounter the error:
stdIn:1.6-1.10 Error: unclosed string
As seen in this screenshot:
Once I use the command use ***(sml file), it failed.
No matter what I write, it always has the same error.
The SML file: "test.sml"
(* here is a comment *)
val x = 123;
I've installed SMLNJ 110.76 from here: http://www.smlnj.org/dist/working/110.76/, Emacs 24.3.1 from here: http://ftp.gnu.org/gnu/emacs/windows/emacs-24.3-bin-i386.zip, and SML Mode for Emacs through the Emacs GUI.
The Emacs stack trace is this:
test.sml:1.2 Error: illegal token
test.sml:1.3 Error: illegal token
test.sml:1.5 Error: illegal token
test.sml:1.7 Error: illegal token
test.sml:1.9 Error: illegal token
and so on, ending with:
uncaught exception Compile [Compile: "syntax error"]
raised at: ../compiler/Parse/main/smlfile.sml:15.24-15.46
../compiler/TopLevel/interact/evalloop.sml:44.55
../compiler/TopLevel/interact/evalloop.sml:296.17-296.20
I also tried the same program via Sublime Text 3 with the SML and sublimeREPL packages as laid out here: http://developerinmotion.wordpress.com/2013/02/07/sublime-text-2-and-sml/. But I'm getting the same problem: a long list of illegal token syntax errors followed by:
C:\Program Files (x86)\SMLNJ\\bin\.run\run.x86-win32.exe: Fatal error -- Uncaught exception Compile with "syntax error" raised at ../compiler/Parse/main/smlfile.sml:15.24-15.46
What's the problem? Have I installed SMLNJ incorrectly?
I put your two lines in a file (test.sml) and opened in a standard SML REPL. It compiles normally:
- use "test.sml";
[opening test.sml]
val x = 123 : int
val it = () : unit
It seems that you have problems with setting your tools.
This problem may result from creating .sml file using UTF-8 character encoding. pls use ANSI instead.