<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://karaoke.kjams.com/w/index.php?action=history&amp;feed=atom&amp;title=Build%2FWinLink4099</id>
	<title>Build/WinLink4099 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://karaoke.kjams.com/w/index.php?action=history&amp;feed=atom&amp;title=Build%2FWinLink4099"/>
	<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=Build/WinLink4099&amp;action=history"/>
	<updated>2026-06-09T14:02:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=Build/WinLink4099&amp;diff=7188&amp;oldid=prev</id>
		<title>Dave at 18:37, 14 February 2012</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=Build/WinLink4099&amp;diff=7188&amp;oldid=prev"/>
		<updated>2012-02-14T18:37:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:37, 14 February 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, you could probably live with it if there was just one warning per-library and you don&amp;#039;t really care about compiling with 0 warnings, but it&amp;#039;s typically hundreds of warnings, and we all know how slow VC80 gets when you spam the output window. So, no sanctioned workaround, let&amp;#039;s do this the hard way [4]. You could go after the code that generates a 4099 and prevent it from ever getting generated, or the code that prevents it from being ignored. The latter seems easier, since they have a whole list of items it&amp;#039;ll probably be in a table.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Now, you could probably live with it if there was just one warning per-library and you don&amp;#039;t really care about compiling with 0 warnings, but it&amp;#039;s typically hundreds of warnings, and we all know how slow VC80 gets when you spam the output window. So, no sanctioned workaround, let&amp;#039;s do this the hard way [4]. You could go after the code that generates a 4099 and prevent it from ever getting generated, or the code that prevents it from being ignored. The latter seems easier, since they have a whole list of items it&amp;#039;ll probably be in a table.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Fire up your favorite hex editor on link.exe (likely the one in &quot;C:\Program Files\Microsoft Visual Studio 8\VC\bin&quot;) and look for 4099 at 32 bits wide. The very first hit also &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;has &lt;/del&gt;4088 before it, and 4105 after it, bingo! I set it to 65535; pick your poison, but you probably want to avoid the 4xxx range. Hooray for no more annoying PDB warnings, at least until the next VS SP or VC9.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Fire up your favorite hex editor on link.exe (likely the one in &quot;C:\Program Files\Microsoft Visual Studio 8\VC\bin&quot;) and look for &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the first occurrence of &lt;/ins&gt;4099 at 32 bits wide &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(03100000)&lt;/ins&gt;. The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;very first hit&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; will &lt;/ins&gt;also &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;have &lt;/ins&gt;4088 before it, and 4105 after it, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(see hex below) &lt;/ins&gt;bingo! I set it to 65535 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(FFFF0000)&lt;/ins&gt;; pick your poison, but you probably want to avoid the 4xxx range. Hooray for no more annoying PDB warnings, at least until the next VS SP or VC9.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=162246&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=162246&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kjams_www-mw_:diff:1.41:old-7186:rev-7188:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=Build/WinLink4099&amp;diff=7186&amp;oldid=prev</id>
		<title>Dave at 18:31, 14 February 2012</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=Build/WinLink4099&amp;diff=7186&amp;oldid=prev"/>
		<updated>2012-02-14T18:31:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:31, 14 February 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;[http://www.bottledlight.com/docs/lnk4099.html original page&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[http://www.bottledlight.com/docs/lnk4099.html original page]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Problem: Visual Studio likes to extensively warn you about missing PDB files for library files when linking.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Problem: Visual Studio likes to extensively warn you about missing PDB files for library files when linking.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kjams_www-mw_:diff:1.41:old-7184:rev-7186:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>
	</entry>
	<entry>
		<id>https://karaoke.kjams.com/w/index.php?title=Build/WinLink4099&amp;diff=7184&amp;oldid=prev</id>
		<title>Dave: Created page with &quot;http://www.bottledlight.com/docs/lnk4099.html original page  &#039;&#039;&#039;Problem: Visual Studio likes to extensively warn you about missing PDB files for library files when linking. &#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://karaoke.kjams.com/w/index.php?title=Build/WinLink4099&amp;diff=7184&amp;oldid=prev"/>
		<updated>2012-02-14T18:30:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/w/index.php?title=Http://www.bottledlight.com/docs/lnk4099.html_original_page&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Http://www.bottledlight.com/docs/lnk4099.html original page (page does not exist)&quot;&gt;http://www.bottledlight.com/docs/lnk4099.html original page&lt;/a&gt;  &amp;#039;&amp;#039;&amp;#039;Problem: Visual Studio likes to extensively warn you about missing PDB files for library files when linking. &amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[http://www.bottledlight.com/docs/lnk4099.html original page]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Problem: Visual Studio likes to extensively warn you about missing PDB files for library files when linking.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
warning LNK4099: PDB &amp;#039;XXX&amp;#039; was not found with &amp;#039;YYY&amp;#039; or at &amp;#039;ZZZ&amp;#039;; linking object as if no debug info&lt;br /&gt;
&lt;br /&gt;
You might think that it&amp;#039;s not a big deal: recompile the library to not use PDB files, or disable the warning. The former option isn&amp;#039;t available if it&amp;#039;s a 3rd party SDK without source code, and the latter option isn&amp;#039;t possible (more on that in a second).&lt;br /&gt;
&lt;br /&gt;
At least in Visual Studio 2003 (7.1) and Visual Studio 2005 (8.0), 4099 is on a &amp;#039;non-ignorable&amp;#039; warning list. This means that you can&amp;#039;t use /ignore in the linker command line options to get rid of it. Brilliant! This is by design [1] and they don&amp;#039;t care enough to provide any other mechanism right now [2]. To be fair, both the /ignore switch and which warnings are non-ignorable seem to be undocumented, but someone else has made a handy list of them [3].&lt;br /&gt;
&lt;br /&gt;
Now, you could probably live with it if there was just one warning per-library and you don&amp;#039;t really care about compiling with 0 warnings, but it&amp;#039;s typically hundreds of warnings, and we all know how slow VC80 gets when you spam the output window. So, no sanctioned workaround, let&amp;#039;s do this the hard way [4]. You could go after the code that generates a 4099 and prevent it from ever getting generated, or the code that prevents it from being ignored. The latter seems easier, since they have a whole list of items it&amp;#039;ll probably be in a table.&lt;br /&gt;
&lt;br /&gt;
Fire up your favorite hex editor on link.exe (likely the one in &amp;quot;C:\Program Files\Microsoft Visual Studio 8\VC\bin&amp;quot;) and look for 4099 at 32 bits wide. The very first hit also has 4088 before it, and 4105 after it, bingo! I set it to 65535; pick your poison, but you probably want to avoid the 4xxx range. Hooray for no more annoying PDB warnings, at least until the next VS SP or VC9.&lt;br /&gt;
&lt;br /&gt;
    http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=162246&lt;br /&gt;
    http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=176188&lt;br /&gt;
    http://members.ozemail.com.au/~geoffch/samples/programming/msvc/link/link/options/ignore.htm&lt;br /&gt;
&lt;br /&gt;
Yes, I really am proposing that you patch your linker to ensure a clean build. If it helps you sleep at night, think of it as correcting a profoundly stupid oversight by Microsoft. There just isn&amp;#039;t any other solution if you want to compile in debug mode without getting vendors to recompile their libraries.&lt;br /&gt;
&lt;br /&gt;
The usual caveats apply when modifying executables (Make a backup copy, validate what you&amp;#039;re attempting to change, no warranty express or implied, etc...). If you have a newer or older link.exe, the list of unignorable warnings may be different, or stored differently, so verify that the value you&amp;#039;re replacing is sane:&lt;br /&gt;
&lt;br /&gt;
... F8 0F 00 00 - 03 10 00 00 - 09 10 00 00 ... (4088, 4099, 4105) &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Copyright (C) 2007 Michael Noland. All rights reserved.&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>Dave</name></author>
	</entry>
</feed>