LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Unexpected trailing tokens on directive line ignored

I am getting this warning on one file in my project:
 
1, 1 Warning: Unexpected trailing tokens on directive line ignored
 
The line #1 contains the following
 
/*
I found one message related to this on this forums, but it does not really answer the question. I removed all /* */ comments from #define directives. The #else directives may have /* */ comments after them, because I like to mark what is #else for lenghty conditional code. But the warning comes from the first line and if I deliberately induce an syntax errors, they apear after this warning. There is no directive on the first line.
 
LabWindows/CVI 8.1.0 (271)
 

Message Edited by romanZ on 02-02-2007 10:20 AM

0 Kudos
Message 1 of 3
(4,778 Views)
Hi romanZ,
 
 
Is this error ocurring on your .h or .c file?  Can you please attach the top 25 lines or so of your code?
Cheers,

David Goldberg
National Instruments
Software R&D
0 Kudos
Message 2 of 3
(4,750 Views)
Hi David,
 
please contact me on rziak at cimtek dot com and I will reply with those 25 lines.
 
Thank you
Roman
 
0 Kudos
Message 3 of 3
(4,744 Views)