Skip to content

Commit 05a02cb

Browse files
author
Colin Robertson
authored
Add using namespace statement
1 parent f7aa635 commit 05a02cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/build/creating-precompiled-header-files.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ UNSTABLEHDRS = unstable.h
169169
CLFLAGS = /c /W3
170170
# List all linker options common to both debug and final
171171
# versions of your code here:
172-
LINKFLAGS = /NOD /ONERROR:NOEXE
172+
LINKFLAGS = /nologo
173173
!IF "$(DEBUG)" == "1"
174-
CLFLAGS = /D_DEBUG $(CLFLAGS) /Od /Zi /f
174+
CLFLAGS = /D_DEBUG $(CLFLAGS) /Od /Zi
175175
LINKFLAGS = $(LINKFLAGS) /COD
176176
LIBS = slibce
177177
!ELSE
@@ -260,6 +260,7 @@ void notstable( void );
260260
#include"another.h"
261261
#include"stable.h"
262262
#include"unstable.h"
263+
using namespace std;
263264
// The following code represents code that is deemed stable and
264265
// not likely to change. The associated interface code is
265266
// precompiled. In this example, the header files STABLE.H and

0 commit comments

Comments
 (0)