PS: I'm not sure of why sometimes wrapping lines in "~~~~~~" lines works and sometimes it doesn't.
There needs to be a blank line before the initial set of squigglies. I get tripped up on this, usually trying to preface the highlighted block with a filename, so it's how I know. ;-)
Edited the above post to reflect. The closing set of squigglies do not need blanks before or after, but the opening set needs a blank line before.
Cheers,
Brian
Last edit: Brian Tiffin 2014-09-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm unsure why you have /LIBRARY set via environment in COB_LIB_PATHS - there is no /LIBRARY option in link.exe (which is called by cl.exe you use). You need /LIBPATH which is already in (likely from compiling GC [defaults.h]), therefore just remove the unnecessary /LIBRARY option and there will be no warning.
Simon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm using GNU Cobol 2.0 in Windows 7/Windows 8.1.
Whenever I compile a program using "cobc -x -v" without errors, it always gives this warning:
Here is the complete output of one compile:
Here are my environment variables:
This is in my "Path:" environment variable:
Any help would gratefully appreciated.
PS: I'm not sure of why sometimes wrapping lines in "~~~~~~" lines works and sometimes it doesn't.
Thanks,
Tony
Last edit: Brian Tiffin 2014-09-12
There needs to be a blank line before the initial set of squigglies. I get tripped up on this, usually trying to preface the highlighted block with a filename, so it's how I know. ;-)
Edited the above post to reflect. The closing set of squigglies do not need blanks before or after, but the opening set needs a blank line before.
Cheers,
Brian
Last edit: Brian Tiffin 2014-09-12
Thanks Brian.
Is there a better set of instructions on how to format posts here on SourceForge?
I have a hard time trying to figure out how to insert an image.
Thanks,
Tony
Made a new thread, Tony. http://sourceforge.net/p/open-cobol/discussion/help/thread/6149198b/#5684 SourceForge discussion text markup
Cheers,
Brian
Does anybody have any information about the linker warning?
Thanks,
Tony
I'm unsure why you have /LIBRARY set via environment in COB_LIB_PATHS - there is no /LIBRARY option in link.exe (which is called by cl.exe you use). You need /LIBPATH which is already in (likely from compiling GC [defaults.h]), therefore just remove the unnecessary /LIBRARY option and there will be no warning.
Simon
I'm sorry Simon.
I must have put in wrong when I added it to the environment variables.
Thanks,
Tony